The wrong command line arguments were specified when launching MacVim.

git-svn-id: http://macvim.googlecode.com/svn/trunk@124 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-08-11 17:48:34 +00:00
parent 6e8f33c766
commit fb36ef1acd
+1 -1
View File
@@ -114,7 +114,7 @@ static int specialKeyToNSKey(int key);
// MMWindowController which always raises the app when a new window is
// opened.
NSMutableArray *args = [NSMutableArray arrayWithObjects:
MMNoWindowKey, @"yes", nil];
[NSString stringWithFormat:@"-%@", MMNoWindowKey], @"yes", nil];
NSString *exeName = [[mainBundle infoDictionary]
objectForKey:@"CFBundleExecutable"];
NSString *path = [mainBundle pathForAuxiliaryExecutable:exeName];