diff options
Diffstat (limited to 'src/w32menu.c')
| -rw-r--r-- | src/w32menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index 389e6c5b856..11af1d66b6f 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -1994,6 +1994,9 @@ w32_menu_show (f, x, y, for_click, keymaps, title, error) | |||
| 1994 | } | 1994 | } |
| 1995 | } | 1995 | } |
| 1996 | } | 1996 | } |
| 1997 | else if (!for_click) | ||
| 1998 | /* Make "Cancel" equivalent to C-g. */ | ||
| 1999 | Fsignal (Qquit, Qnil); | ||
| 1997 | 2000 | ||
| 1998 | return Qnil; | 2001 | return Qnil; |
| 1999 | } | 2002 | } |
| @@ -2186,6 +2189,9 @@ w32_dialog_show (f, keymaps, title, header, error) | |||
| 2186 | } | 2189 | } |
| 2187 | } | 2190 | } |
| 2188 | } | 2191 | } |
| 2192 | else | ||
| 2193 | /* Make "Cancel" equivalent to C-g. */ | ||
| 2194 | Fsignal (Qquit, Qnil); | ||
| 2189 | 2195 | ||
| 2190 | return Qnil; | 2196 | return Qnil; |
| 2191 | } | 2197 | } |