diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-08 01:08:32 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-08 01:08:32 +0000 |
commit | 2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c (patch) | |
tree | bc4d83fe70582142fea71fd2465da88ebe725fb4 /Source/SPTooltip.m | |
parent | cd06fc0c9c3713f12394a02f148158b4422b4aed (diff) | |
download | sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.tar.gz sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.tar.bz2 sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.zip |
Fix more compiler warnings, including a few bugs
Diffstat (limited to 'Source/SPTooltip.m')
-rw-r--r-- | Source/SPTooltip.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m index 5a0a2a2e..30f73cc8 100644 --- a/Source/SPTooltip.m +++ b/Source/SPTooltip.m @@ -208,7 +208,7 @@ static CGFloat slow_in_out (CGFloat t) [webPreferences setJavaScriptEnabled:YES]; NSString *fontName = ([displayOptions objectForKey:@"fontname"]) ? [displayOptions objectForKey:@"fontname"] : @"Lucida Grande"; - NSInteger fontSize = ([displayOptions objectForKey:@"fontsize"]) ? [[displayOptions objectForKey:@"fontsize"] integerValue] : 10; + int fontSize = ([displayOptions objectForKey:@"fontsize"]) ? [[displayOptions objectForKey:@"fontsize"] integerValue] : 10; if(fontSize < 5) fontSize = 5; NSFont* font = [NSFont fontWithName:fontName size:fontSize]; |