Skip to content

Commit f28c96c

Browse files
author
Matt Turner
authored
Merge pull request #199 from bihicheng/master
Fixed bug that can not edit config file
2 parents fb4bffa + 9cc5b7e commit f28c96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shuttle/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ - (IBAction)configure:(id)sender {
678678
NSString *editorCommand = [NSString stringWithFormat:@"%@ %@", editorPref, shuttleConfigFile];
679679

680680
//build the reprensented object. It's expecting menuCmd, termTheme, termTitle, termWindow, menuName
681-
NSString *editorRepObj = [NSString stringWithFormat:@"%@,%@,%@,%@,%@", editorCommand, nil, @"Editing shuttle JSON", nil, nil];
681+
NSString *editorRepObj = [NSString stringWithFormat:@"%@¬_¬%@¬_¬%@¬_¬%@¬_¬%@", editorCommand, nil, @"Editing shuttle JSON", nil, nil];
682682

683683
//make a menu item for the command selector(openHost:) runs in a new terminal window.
684684
NSMenuItem *editorMenu = [[NSMenuItem alloc] initWithTitle:@"editJSONconfig" action:@selector(openHost:) keyEquivalent:(@"")];

0 commit comments

Comments
 (0)