Skip to content

Commit

Permalink
~ が入った入出力パスに対応 (Snow Leopard版) (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
doraTeX committed Dec 16, 2015
1 parent 86297b8 commit e244730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ControllerG.m
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,7 @@ - (void)generateImage
[NSThread detachNewThreadSelector:@selector(compileAndConvertWithBody:) toTarget:converter withObject:sourceTextView.textStorage.string];
break;
case FROMFILE:
inputSourceFilePath = [aProfile stringForKey:InputSourceFilePathKey];
inputSourceFilePath = [aProfile stringForKey:InputSourceFilePathKey].stringByStandardizingPath;
if ([NSFileManager.defaultManager fileExistsAtPath:inputSourceFilePath]) {
if ([InputExtensionsArray containsObject:inputSourceFilePath.pathExtension]) {
[NSThread detachNewThreadSelector:@selector(compileAndConvertWithInputPath:) toTarget:converter withObject:inputSourceFilePath];
Expand Down
2 changes: 1 addition & 1 deletion Sources/Converter.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ - (instancetype)initWithProfile:(Profile*)aProfile
guessCompilation = [aProfile boolForKey:GuessCompilationKey];
numberOfCompilation = [aProfile integerForKey:NumberOfCompilationKey];

outputFilePath = [aProfile stringForKey:OutputFileKey];
outputFilePath = [aProfile stringForKey:OutputFileKey].stringByStandardizingPath;
preambleStr = [aProfile stringForKey:PreambleKey];

encoding = [aProfile stringForKey:EncodingKey];
Expand Down

0 comments on commit e244730

Please sign in to comment.