diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-07-16 16:42:37 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-07-16 16:42:37 +1000 |
commit | 949290c01d52907222e6f7af8eb8a0e906f09a93 (patch) | |
tree | eb086d4dbf0282ba5f95a46291ca7469e50144b2 /src | |
parent | 0a5bfdd6eca2e94187f5f452ca6a04584897705b (diff) | |
download | uGFX-949290c01d52907222e6f7af8eb8a0e906f09a93.tar.gz uGFX-949290c01d52907222e6f7af8eb8a0e906f09a93.tar.bz2 uGFX-949290c01d52907222e6f7af8eb8a0e906f09a93.zip |
typo
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/frame.c b/src/gwin/frame.c index 356da3b9..3f41c69f 100644 --- a/src/gwin/frame.c +++ b/src/gwin/frame.c @@ -38,7 +38,7 @@ static coord_t BorderSizeT(GHandle gh) { return (gh->flags & GWIN_FRAME_BORDER) static void _frameDestroy(GHandle gh) { /* Deregister the button callback */ - if ((flags & (GWIN_FRAME_CLOSE_BTN|GWIN_FRAME_MINMAX_BTN))) { + if ((gh->flags & (GWIN_FRAME_CLOSE_BTN|GWIN_FRAME_MINMAX_BTN))) { geventRegisterCallback(&gh2obj->gl, NULL, NULL); geventDetachSource(&gh2obj->gl, NULL); } |