summaryrefslogtreecommitdiffstats
path: root/src/gui_xmdlg.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-12-16 17:49:39 +0000
committerBram Moolenaar <Bram@vim.org>2009-12-16 17:49:39 +0000
commit088598d7d6fe8c0587cf9236206b7d30e846567c (patch)
tree0d7c7452b860245f2cdcdf6a1af8dbbf88268ad8 /src/gui_xmdlg.c
parent5d985b9cca3dc629ea3ac65c7cb8d6d5fbf7e814 (diff)
updated for version 7.2-319v7.2.319
Diffstat (limited to 'src/gui_xmdlg.c')
-rw-r--r--src/gui_xmdlg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_xmdlg.c b/src/gui_xmdlg.c
index e512fe8a1a..072a53c00c 100644
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -1274,13 +1274,12 @@ gui_xm_select_font(char_u *current)
XtAppProcessEvent(XtWidgetToApplicationContext(data->dialog),
(XtInputMask)XtIMAll);
- XtDestroyWidget(data->dialog);
-
if (data->old)
{
XFreeFont(XtDisplay(data->dialog), data->old);
XmFontListFree(data->old_list);
}
+ XtDestroyWidget(data->dialog);
gui_motif_synch_fonts();