summaryrefslogtreecommitdiff
path: root/src/gui_xmdlg.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 21:56:24 +0000
commit446cb837a017fc1c1b144cb5c2a35cb90abfbbcf (patch)
tree6c1fe56f2db8d4adbeee792b181b0659c4d1f216 /src/gui_xmdlg.c
parent3577c6fafb77da5419cd1001dac56f204d480bdc (diff)
downloadvim-git-446cb837a017fc1c1b144cb5c2a35cb90abfbbcf.tar.gz
updated for version 7.2a
Diffstat (limited to 'src/gui_xmdlg.c')
-rw-r--r--src/gui_xmdlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_xmdlg.c b/src/gui_xmdlg.c
index a7470580c..95e3268e3 100644
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -69,7 +69,7 @@ add_cancel_action(Widget shell, XtCallbackProc close_callback, void *arg)
Display *display = XtDisplay(shell);
/* deactivate the built-in delete response of killing the application */
- XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, 0);
+ XtVaSetValues(shell, XmNdeleteResponse, XmDO_NOTHING, NULL);
/* add a delete window protocol callback instead */
if (!dw_atom)