# HG changeset patch # User Jason Rumney # Date 1154642707 0 # Node ID 6e63f47b897705e27a0d4def91a512e09a26196a # Parent 7fcd41d936c52d4365190db25207073fa7cb1fde (w32_menu_show, w32_dialog_show): Call Fsignal to quit when no option selected except when for_click. diff -r 7fcd41d936c5 -r 6e63f47b8977 src/w32menu.c --- a/src/w32menu.c Thu Aug 03 18:41:58 2006 +0000 +++ b/src/w32menu.c Thu Aug 03 22:05:07 2006 +0000 @@ -1994,6 +1994,9 @@ } } } + else if (!for_click) + /* Make "Cancel" equivalent to C-g. */ + Fsignal (Qquit, Qnil); return Qnil; } @@ -2186,6 +2189,9 @@ } } } + else + /* Make "Cancel" equivalent to C-g. */ + Fsignal (Qquit, Qnil); return Qnil; }