summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 9af2cfdfc..a87e25f7e 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -112,7 +112,7 @@
NSSize drawerSize = NSSizeFromString([[NSUserDefaults standardUserDefaults]
stringForKey:@"HBDrawerSize"]);
- if (drawerSize.width)
+ if (drawerSize.width > 0)
{
[fPresetDrawer setContentSize: drawerSize];
}