summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-12-30 12:17:56 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-12-30 12:17:56 +0100
commit4c0435b492773006d4d3e78a1dcbcafbd8982ec9 (patch)
treebd0580e9f7d50b496d2a7137f6919a436300f483 /src
parentd752283609184eccfb96aa25df316e7554275933 (diff)
Fix <keypad *> on --scale-down
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 7940973..8ba5f83 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -307,6 +307,7 @@ void feh_event_handle_keypress(XEvent * ev)
case XK_KP_Multiply:
len = 0;
winwid->zoom = 1;
+ winwid->old_zoom = 1.001; /* hack for --scale-down */
winwidget_center_image(winwid);
winwidget_render_image(winwid, 0, 0);
break;