Handle more escaped sequences.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2016-05-05 15:24:23 +00:00
parent 71a0c53576
commit 21907bf78c
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2016-05-05 11:23-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PipeDelegate.m: Handle more
escaped sequences to futher clean up output.
2016-05-03 19:40-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PipeDelegate.h

View file

@ -245,6 +245,8 @@
unescapedString = [unescapedString substringToIndex: [unescapedString length] - 1];
unescapedString = [unescapedString stringByReplacingOccurrencesOfString: @"\"" withString: @"\""];
unescapedString = [unescapedString stringByReplacingOccurrencesOfString: @"\\n" withString: @"\n"];
unescapedString = [unescapedString stringByReplacingOccurrencesOfString: @"\\t" withString: @"\t"];
unescapedString = [unescapedString stringByReplacingOccurrencesOfString: @"\\032" withString: @" "];
return unescapedString;
}