summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-02-20 22:38:19 (GMT)
committer FacialTurd <simon@hardwired.org.uk>2011-02-21 16:08:20 (GMT)
commit6f2965d0d069e8586d9ca32d042ee6dd094cb0f0 (patch)
tree99318f838f004de815e151ea7cce6ff6ce5a33b5 /src/main.c
parent1419337374ad254eddab69fa1bff11204abca69d (diff)
downloadpowder-6f2965d0d069e8586d9ca32d042ee6dd094cb0f0.zip
powder-6f2965d0d069e8586d9ca32d042ee6dd094cb0f0.tar.gz
Zoom key conflict with international keyboards
Change zoom key to only use keysym.sym, like all the other keyboard controls. This may mean it is no longer the 'z' key on all systems, but will prevent it conflicting with the other keyboard controls.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6667f77..84e440c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2108,7 +2108,7 @@ int main(int argc, char *argv[])
if (!sdl_zoom_trig && zoom_en==1)
zoom_en = 0;
- if (sdl_key==Z_keysym && zoom_en==2)
+ if (sdl_key=='z' && zoom_en==2)
zoom_en = 1;
if (load_mode)