summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-07-24 10:11:31 +0000
committerritsuka <[email protected]>2015-07-24 10:11:31 +0000
commit6cd5d4f11ff43300ad93780c3fda529a525efaff (patch)
treeadf84a48da664e83a7075108c681cce28b290d8d /macosx
parent0a100b66d99b69ffbd0dd16e06e05515531c8e1f (diff)
MacGui: fixed a warning.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7375 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-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];
}