diff options
Diffstat (limited to 'src/w32menu.c')
| -rw-r--r-- | src/w32menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index bd560219a1d..0aaca5e234e 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -1280,9 +1280,9 @@ simple_dialog_show (FRAME_PTR f, Lisp_Object contents, Lisp_Object header) | |||
| 1280 | 1280 | ||
| 1281 | /* Is this item a separator? */ | 1281 | /* Is this item a separator? */ |
| 1282 | static int | 1282 | static int |
| 1283 | name_is_separator (char *name) | 1283 | name_is_separator (const char *name) |
| 1284 | { | 1284 | { |
| 1285 | char *start = name; | 1285 | const char *start = name; |
| 1286 | 1286 | ||
| 1287 | /* Check if name string consists of only dashes ('-'). */ | 1287 | /* Check if name string consists of only dashes ('-'). */ |
| 1288 | while (*name == '-') name++; | 1288 | while (*name == '-') name++; |
| @@ -1360,7 +1360,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item) | |||
| 1360 | strcat (out_string, wv->key); | 1360 | strcat (out_string, wv->key); |
| 1361 | } | 1361 | } |
| 1362 | else | 1362 | else |
| 1363 | out_string = wv->name; | 1363 | out_string = (char *)wv->name; |
| 1364 | 1364 | ||
| 1365 | /* Quote any special characters within the menu item's text and | 1365 | /* Quote any special characters within the menu item's text and |
| 1366 | key binding. */ | 1366 | key binding. */ |