diff --git a/source/xcode/English.lproj/MainMenu.nib/info.nib b/source/xcode/English.lproj/MainMenu.nib/info.nib index cb563978..fe69bef9 100644 --- a/source/xcode/English.lproj/MainMenu.nib/info.nib +++ b/source/xcode/English.lproj/MainMenu.nib/info.nib @@ -10,10 +10,10 @@ 4 IBOpenObjects - 21 - 208 264 + 21 213 + 240 IBSystem Version 9F33 diff --git a/source/xcode/English.lproj/MainMenu.nib/keyedobjects.nib b/source/xcode/English.lproj/MainMenu.nib/keyedobjects.nib index 70d6ab31..d47843fe 100644 Binary files a/source/xcode/English.lproj/MainMenu.nib/keyedobjects.nib and b/source/xcode/English.lproj/MainMenu.nib/keyedobjects.nib differ diff --git a/source/xcode/Launcher.m b/source/xcode/Launcher.m index 4dc7e474..52da6bca 100644 --- a/source/xcode/Launcher.m +++ b/source/xcode/Launcher.m @@ -468,8 +468,8 @@ static int numberForKey(CFDictionaryRef desc, CFStringRef key) NSArray *res = [[resolutions titleOfSelectedItem] componentsSeparatedByString:@" x "]; NSMutableArray *args = [NSMutableArray array]; - [args addObject:@"--init"]; [args addObject:[NSString stringWithFormat:@"--home=%@", [Launcher userdir]]]; + [args addObject:@"--init"]; [args addObject:[NSString stringWithFormat:@"-w%@", [res objectAtIndex:0]]]; [args addObject:[NSString stringWithFormat:@"-h%@", [res objectAtIndex:1]]]; @@ -482,7 +482,7 @@ static int numberForKey(CFDictionaryRef desc, CFStringRef key) NSEnumerator *e = [[[defs nonNullStringForKey:dkADVANCEDOPTS] componentsSeparatedByString:@" "] objectEnumerator]; NSString *opt; - while(opt = [e nextObject]) if([opt length] != 0) [args addObject:opt]; //skip empty ones + while(opt = [e nextObject]) if([opt length] != 0) [args addObject:opt]; //skip empty ones return [self launchGame:args]; }