diff options
Diffstat (limited to 'src/w32menu.c')
| -rw-r--r-- | src/w32menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index c31a8c1fd96..b5cc6801a72 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Menu support for GNU Emacs on the Microsoft W32 API. | 1 | /* Menu support for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1986, 1988, 1993-1994, 1996, 1998-1999, 2001-2011 | 2 | Copyright (C) 1986, 1988, 1993-1994, 1996, 1998-1999, 2001-2012 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -1219,7 +1219,7 @@ simple_dialog_show (FRAME_PTR f, Lisp_Object contents, Lisp_Object header) | |||
| 1219 | is_simple_dialog, we don't need to worry about checking contents | 1219 | is_simple_dialog, we don't need to worry about checking contents |
| 1220 | to see what type of dialog to use. */ | 1220 | to see what type of dialog to use. */ |
| 1221 | 1221 | ||
| 1222 | /* Use unicode if possible, so any language can be displayed. */ | 1222 | /* Use Unicode if possible, so any language can be displayed. */ |
| 1223 | if (unicode_message_box) | 1223 | if (unicode_message_box) |
| 1224 | { | 1224 | { |
| 1225 | WCHAR *text, *title; | 1225 | WCHAR *text, *title; |
| @@ -1443,7 +1443,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item) | |||
| 1443 | out_string = (char *) local_alloc (strlen (wv->name) + 1); | 1443 | out_string = (char *) local_alloc (strlen (wv->name) + 1); |
| 1444 | strcpy (out_string, wv->name); | 1444 | strcpy (out_string, wv->name); |
| 1445 | #ifdef MENU_DEBUG | 1445 | #ifdef MENU_DEBUG |
| 1446 | DebPrint ("Menu: allocing %ld for owner-draw", out_string); | 1446 | DebPrint ("Menu: allocating %ld for owner-draw", out_string); |
| 1447 | #endif | 1447 | #endif |
| 1448 | fuFlags = MF_OWNERDRAW | MF_DISABLED; | 1448 | fuFlags = MF_OWNERDRAW | MF_DISABLED; |
| 1449 | } | 1449 | } |
| @@ -1476,7 +1476,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item) | |||
| 1476 | utf16_string); | 1476 | utf16_string); |
| 1477 | if (!return_value) | 1477 | if (!return_value) |
| 1478 | { | 1478 | { |
| 1479 | /* On W9x/ME, unicode menus are not supported, though AppendMenuW | 1479 | /* On W9x/ME, Unicode menus are not supported, though AppendMenuW |
| 1480 | apparently does exist at least in some cases and appears to be | 1480 | apparently does exist at least in some cases and appears to be |
| 1481 | stubbed out to do nothing. out_string is UTF-8, but since | 1481 | stubbed out to do nothing. out_string is UTF-8, but since |
| 1482 | our standard menus are in English and this is only going to | 1482 | our standard menus are in English and this is only going to |
| @@ -1486,7 +1486,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item) | |||
| 1486 | AppendMenu (menu, fuFlags, | 1486 | AppendMenu (menu, fuFlags, |
| 1487 | item != NULL ? (UINT) item: (UINT) wv->call_data, | 1487 | item != NULL ? (UINT) item: (UINT) wv->call_data, |
| 1488 | out_string); | 1488 | out_string); |
| 1489 | /* Don't use unicode menus in future. */ | 1489 | /* Don't use Unicode menus in future. */ |
| 1490 | unicode_append_menu = NULL; | 1490 | unicode_append_menu = NULL; |
| 1491 | } | 1491 | } |
| 1492 | 1492 | ||