Search
lxdream.org :: lxdream/src/cocoaui/cocoa_ctrl.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoa_ctrl.m
changeset 1058:37f6fdc738e7
prev1043:ec716f2b8ffb
next1069:7e2b65496762
author nkeynes
date Sun Jun 28 23:03:06 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Replace NSInteger with int - 10.4 build doesn't like NSInteger
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoa_ctrl.m Sat Jun 27 09:55:00 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 */
.