From 9e967ed6bfc414517eb169d34a1bb815f609a457 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 11 Apr 2007 20:03:05 +0000 Subject: (svn r9595) -Fix (r9563): Transparency hotkeys didn't work --- src/main_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main_gui.cpp') diff --git a/src/main_gui.cpp b/src/main_gui.cpp index eb039bb95..a2af5eb22 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -2341,7 +2341,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e) case '6' | WKC_CTRL: case '7' | WKC_CTRL: /* Transparency toggle hot keys */ - TOGGLEBIT(_transparent_opt, e->we.keypress.key - '1'); + TOGGLEBIT(_transparent_opt, e->we.keypress.keycode - ('1' | WKC_CTRL)); MarkWholeScreenDirty(); break; -- cgit v1.2.3-54-g00ecf