Mercurial > vim
changeset 1940:e753954c86e2 v7.2.237
updated for version 7.2-237
author | vimboss |
---|---|
date | Wed, 22 Jul 2009 11:28:11 +0000 |
parents | 41d8447a8457 |
children | d92358c7d621 |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -1734,9 +1734,9 @@ get_x11_icon(test_only) if (oldicon == NULL && !test_only) { if (STRNCMP(T_NAME, "builtin_", 8) == 0) - oldicon = T_NAME + 8; + oldicon = vim_strsave(T_NAME + 8); else - oldicon = T_NAME; + oldicon = vim_strsave(T_NAME); } return retval; @@ -1939,9 +1939,9 @@ get_x11_icon(test_only) if (!test_only) { if (STRNCMP(T_NAME, "builtin_", 8) == 0) - oldicon = T_NAME + 8; + oldicon = vim_strsave(T_NAME + 8); else - oldicon = T_NAME; + oldicon = vim_strsave(T_NAME); } return FALSE; }