commit | e82080179b24c930003e7fa2f580240c9aedd583 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jun 20 09:59:25 2008 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 20 09:59:25 2008 +0000 |
tree | 8771a6ec8e8fdef0f491cb187603889bc1ff73ba | |
parent | 4678465a4b117d36015bd62860e19abb02d243af [diff] [blame] |
updated for version 7.1-318
diff --git a/src/gui_x11.c b/src/gui_x11.c index 3f2a256..2842fa0 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c
@@ -1538,8 +1538,11 @@ attr.depth = DefaultDepthOfScreen(scr); if (!icon) + { XpmCreatePixmapFromData(dsp, root_window, magick, &icon, &icon_mask, &attr); + XpmFreeAttributes(&attr); + } # ifdef FEAT_GUI_ATHENA XtVaSetValues(vimShell, XtNiconPixmap, icon, XtNiconMask, icon_mask, NULL);