(svn r9595) -Fix (r9563): Transparency hotkeys didn't work

This commit is contained in:
peter1138 2007-04-11 20:03:05 +00:00
parent e735e8261f
commit 71d6f5c598

View File

@ -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;