0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.2-237

This commit is contained in:
Bram Moolenaar
2009-07-22 11:28:11 +00:00
parent 996b6d86cc
commit 20de1c20e6
2 changed files with 6 additions and 4 deletions

View File

@@ -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;
}