comparison src/gui_motif.c @ 4960:27b008d5b7ac v7.3.1225

updated for version 7.3.1225 Problem: Compiler warnings when building with Motif. Solution: Change set_label() argument. (Kazunobu Kuriyama)
author Bram Moolenaar <bram@vim.org>
date Sat, 22 Jun 2013 13:00:16 +0200
parents 04736b4030ec
children 5f24d6d51333
comparison
equal deleted inserted replaced
4959:fcd8be759157 4960:27b008d5b7ac
3651 } 3651 }
3652 3652
3653 static void 3653 static void
3654 set_label(w, label) 3654 set_label(w, label)
3655 Widget w; 3655 Widget w;
3656 char_u *label; 3656 char *label;
3657 { 3657 {
3658 XmString str; 3658 XmString str;
3659 char_u *p, *next; 3659 char_u *p, *next;
3660 KeySym mnemonic = NUL; 3660 KeySym mnemonic = NUL;
3661 3661
3662 if (!w) 3662 if (!w)
3663 return; 3663 return;
3664 3664
3665 p = vim_strsave(label); 3665 p = vim_strsave((char_u *)label);
3666 if (p == NULL) 3666 if (p == NULL)
3667 return; 3667 return;
3668 for (next = p; *next; ++next) 3668 for (next = p; *next; ++next)
3669 { 3669 {
3670 if (*next == DLG_HOTKEY_CHAR) 3670 if (*next == DLG_HOTKEY_CHAR)