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

This commit is contained in:
peter1138 2007-04-11 20:03:05 +00:00
parent e161e60af6
commit 9e967ed6bf
1 changed files with 1 additions and 1 deletions

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;