(svn r7023) -Fix: Pressing F1 in scenario editor did not work because the keypress event was sent

twice. due to e->we.keypress.cont not being set to false. Also indent the switch
 statements for some coding style bonus points.
This commit is contained in:
Darkvater 2006-10-31 21:46:21 +00:00
parent eadf788cc5
commit 6c76a89c20
1 changed files with 16 additions and 14 deletions

View File

@ -2048,7 +2048,9 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e)
case WKC_CTRL | 'S': MenuClickSmallScreenshot(); break;
case WKC_CTRL | 'G': MenuClickWorldScreenshot(); break;
case 'L': ShowEditorTerraformToolBar(); break;
default: return;
}
e->we.keypress.cont = false;
break;
case WE_PLACE_OBJ: {