comparison src/menu.c @ 26:404aac550f35 v7.0017

updated for version 7.0017
author vimboss
date Thu, 07 Oct 2004 21:02:47 +0000
parents 4424b47a0797
children 125e80798a85
comparison
equal deleted inserted replaced
25:8cde1a064c7c 26:404aac550f35
390 if (STRICMP(map_to, "<nop>") == 0) /* "<Nop>" means nothing */ 390 if (STRICMP(map_to, "<nop>") == 0) /* "<Nop>" means nothing */
391 { 391 {
392 map_to = (char_u *)""; 392 map_to = (char_u *)"";
393 map_buf = NULL; 393 map_buf = NULL;
394 } 394 }
395 else if (modes & MENU_TIP_MODE)
396 map_buf = NULL; /* Menu tips are plain text. */
395 else 397 else
396 map_to = replace_termcodes(map_to, &map_buf, FALSE, TRUE); 398 map_to = replace_termcodes(map_to, &map_buf, FALSE, TRUE);
397 menuarg.modes = modes; 399 menuarg.modes = modes;
398 #ifdef FEAT_TOOLBAR 400 #ifdef FEAT_TOOLBAR
399 menuarg.iconfile = icon; 401 menuarg.iconfile = icon;