mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
After much thought, I've decided that `Restart' on r is not a
particularly useful keypress, particularly given how easy it is to confuse it with `Redo'. So both r and ^R are now Redo, and Restart is relegated to being a menu-only option. [originally from svn r5796]
This commit is contained in:
@ -1120,8 +1120,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
case IDM_RESTART:
|
||||
if (!midend_process_key(fe->me, 0, 0, 'r'))
|
||||
PostQuitMessage(0);
|
||||
midend_restart_game(fe->me);
|
||||
break;
|
||||
case IDM_UNDO:
|
||||
if (!midend_process_key(fe->me, 0, 0, 'u'))
|
||||
|
Reference in New Issue
Block a user