author | peter1138 |
Tue, 01 Jan 2008 18:35:31 +0000 | |
changeset 8672 | e3287e4289ac |
parent 8671 | c4f636185eb9 |
child 8673 | 85d63e5a028e |
src/main_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/main_gui.cpp Tue Jan 01 18:12:17 2008 +0000 +++ b/src/main_gui.cpp Tue Jan 01 18:35:31 2008 +0000 @@ -2231,8 +2231,8 @@ case 'Z': { Point pt = GetTileBelowCursor(); if (pt.x != -1) { + if (e->we.keypress.keycode == 'Z') MaxZoomInOut(ZOOM_IN, w); ScrollMainWindowTo(pt.x, pt.y); - if (e->we.keypress.keycode == 'Z') MaxZoomInOut(ZOOM_IN, w); } break; }