mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-01 12:42:57 +03:00
Merge branch '424_load_filepos'
* 424_load_filepos: Ticket #424: viewer doesn't apply the file position.
This commit is contained in:
commit
71410e1e4c
@ -2046,7 +2046,7 @@ view_load (WView *view, const char *command, const char *file,
|
||||
long line, col;
|
||||
|
||||
canon_fname = vfs_canon (view->filename);
|
||||
load_file_position (file, &line, &col);
|
||||
load_file_position (canon_fname, &line, &col);
|
||||
g_free (canon_fname);
|
||||
view_moveto (view, offset_doz(line, 1), col);
|
||||
} else if (start_line > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user