mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
[laullon/gitx GH-41] Open in FileMerge link doesn't always work
This commit is contained in:
+4
-2
@@ -430,8 +430,10 @@
|
||||
|
||||
+(NSString *)getFileName:(NSString *)line
|
||||
{
|
||||
NSRange b = [line rangeOfString:@"b/"];
|
||||
NSString *file=[line substringFromIndex:b.location+2];
|
||||
NSRange b = [line rangeOfString:@" b/"];
|
||||
NSString *file=[line substringFromIndex:b.location+3];
|
||||
DLog(@"line=%@",line);
|
||||
DLog(@"file=%@",file);
|
||||
return file;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user