author | peter1138 |
Tue, 01 Jan 2008 18:35:31 +0000 | |
changeset 8176 | b45860add89b |
parent 8175 | 4d10031a5495 |
child 8177 | d3b340b0bdfe |
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; }