# HG changeset patch # User Colin Clark # Date 1544528760 0 # Node ID 6a16ed6742bea8a66f22445be154648f0df5c4c5 # Parent c56112a165a4e483af1e1a04b28b2699fc889b79 Bug fix: View in new window from files pane When View in New Window was called from a right-click in the files pane, the image was not shown at the correct size diff -r c56112a165a4 -r 6a16ed6742be src/img-view.c --- a/src/img-view.c Fri Nov 30 11:05:43 2018 +0000 +++ b/src/img-view.c Tue Dec 11 11:46:00 2018 +0000 @@ -886,6 +886,8 @@ view_window_set_list(vw, list); vw->list_pointer = vw->list; image_change_fd(vw->imd, (FileData *)vw->list->data, image_zoom_get_default(NULL)); + /* Set fd to first in list */ + fd = vw->list->data; if (options->image.enable_read_ahead) {