Skip to content

Commit 3ca6135

Browse files
uheeslaullon
authored andcommitted
Make 'Diff with ...' context menu item work again
1 parent f47fd3c commit 3ca6135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PBWebDiffController.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
#import "PBWebDiffController.h"
10+
#import "GLFileView.h"
1011

1112

1213
@implementation PBWebDiffController
@@ -46,7 +47,7 @@ - (void) showDiff: (NSString *) diff
4647
if ([diff length] == 0)
4748
[script callWebScriptMethod:@"setMessage" withArguments:[NSArray arrayWithObject:@"There are no differences"]];
4849
else
49-
[script callWebScriptMethod:@"showDiff" withArguments:[NSArray arrayWithObject:diff]];
50+
[script callWebScriptMethod:@"showFile" withArguments:[NSArray arrayWithObject:[GLFileView parseDiff:diff]]];
5051
}
5152

5253
@end

0 commit comments

Comments
 (0)