comparison src/video/cocoa/SDL_cocoakeyboard.m @ 3525:455a6c47d2c6

Fixed compilation on Mac OS X 10.4
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Dec 2009 19:57:49 +0000
parents d390778b59c1
children 1ab77e93a6c9
comparison
equal deleted inserted replaced
3524:5668e43c256b 3525:455a6c47d2c6
178 { 178 {
179 DEBUG_IME(@"attributedSubstringFromRange: (%d, %d)", theRange.location, theRange.length); 179 DEBUG_IME(@"attributedSubstringFromRange: (%d, %d)", theRange.location, theRange.length);
180 return nil; 180 return nil;
181 } 181 }
182 182
183 - (NSInteger) conversationIdentifier 183 /* Needs long instead of NSInteger for compilation on Mac OS X 10.4 */
184 { 184 - (long) conversationIdentifier
185 return (NSInteger) self; 185 {
186 return (long) self;
186 } 187 }
187 188
188 // This method returns the index for character that is 189 // This method returns the index for character that is
189 // nearest to thePoint. thPoint is in screen coordinate system. 190 // nearest to thePoint. thPoint is in screen coordinate system.
190 - (NSUInteger) characterIndexForPoint:(NSPoint) thePoint 191 - (NSUInteger) characterIndexForPoint:(NSPoint) thePoint