diff options
-rwxr-xr-x | dwim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ for ($phrase) { my $dir = dir; s/\(.*/(/; for (`grep -n '^$_' "$dir"/*.c "$dir"/*.h`) { - run @EDITOR, "+$2", $1 if /([^:]+):(\d+):/; + run @EDITOR, "+$2", path($1) if /([^:]+):(\d+):/; } fail 'could not find definition'; # FALLTHROUGH |