mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
[14] The "blame", "history" and "diff" commands are broken
Related with tabs & spaces
This commit is contained in:
+1
-1
@@ -119,6 +119,7 @@
|
||||
id script = [view windowScriptObject];
|
||||
if(!theError){
|
||||
NSString *filePath = [file fullPath];
|
||||
fileTxt=[fileTxt stringByReplacingOccurrencesOfString:@"\t" withString:@" "];
|
||||
[script callWebScriptMethod:@"showFile" withArguments:[NSArray arrayWithObjects:fileTxt, filePath, nil]];
|
||||
}else{
|
||||
[script callWebScriptMethod:@"setMessage" withArguments:[NSArray arrayWithObjects:[theError localizedDescription], nil]];
|
||||
@@ -218,7 +219,6 @@
|
||||
txt=[txt stringByReplacingOccurrencesOfString:@"&" withString:@"&"];
|
||||
txt=[txt stringByReplacingOccurrencesOfString:@"<" withString:@"<"];
|
||||
txt=[txt stringByReplacingOccurrencesOfString:@">" withString:@">"];
|
||||
txt=[txt stringByReplacingOccurrencesOfString:@"\t" withString:@" "];
|
||||
|
||||
return txt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user