Search
lxdream.org :: lxdream :: r1058:37f6fdc738e7
lxdream 0.9.1
released Jun 29
Download Now
changeset1058:37f6fdc738e7
parent1057:6f2158c421bb
child1059:ea2311906607
authornkeynes
dateSun Jun 28 23:03:06 2009 +0000 (14 years ago)
Replace NSInteger with int - 10.4 build doesn't like NSInteger
src/cocoaui/cocoa_ctrl.m
1.1 --- a/src/cocoaui/cocoa_ctrl.m Sun Jun 28 12:08:16 2009 +0000
1.2 +++ b/src/cocoaui/cocoa_ctrl.m Sun Jun 28 23:03:06 2009 +0000
1.3 @@ -597,7 +597,7 @@
1.4 NSOpenPanel *panel = [NSOpenPanel openPanel];
1.5 VMULoadValidator *valid = [[VMULoadValidator alloc] autorelease];
1.6 [panel setDelegate: valid];
1.7 - NSInteger result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]
1.8 + int result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]
1.9 file: nil types: array];
1.10 if( result == NSOKButton ) {
1.11 vmu_filename = [[panel filename] UTF8String];
1.12 @@ -617,7 +617,7 @@
1.13 [panel setRequiredFileType: @"vmu"];
1.14 VMUCreateValidator *valid = [[VMUCreateValidator alloc] autorelease];
1.15 [panel setDelegate: valid];
1.16 - NSInteger result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]
1.17 + int result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]
1.18 file: nil];
1.19 if( result == NSFileHandlingPanelOKButton ) {
1.20 /* Validator has already created the file by now */
.