summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-11-03 11:53:55 +0000
committerBram Moolenaar <Bram@vim.org>2009-11-03 11:53:55 +0000
commit0af561dbf22e4dedb665efd45d736446cbd649de (patch)
treebfe61e9261c43a8cd0e4e051abafd747c2bbfc21 /src
parent60462877cb44a8a4c30606fd2a29a4b979beae74 (diff)
updated for version 7.2-271v7.2.271
Diffstat (limited to 'src')
-rw-r--r--src/gui_xmdlg.c7
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/gui_xmdlg.c b/src/gui_xmdlg.c
index 9ac41d7f3d..e512fe8a1a 100644
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -10,7 +10,7 @@
/*
* (C) 2001,2005 by Marcin Dalecki <martin@dalecki.de>
*
- * Implementation of dialogue functions for the Motif GUI variant.
+ * Implementation of dialog functions for the Motif GUI variant.
*
* Note about Lesstif: Apparently lesstif doesn't get the widget layout right,
* when using a dynamic scrollbar policy.
@@ -633,16 +633,19 @@ do_choice(Widget w,
data->sel[which] = XtNewString(sel);
else
{
- XtFree(data->sel[which]);
if (!strcmp(data->sel[which], sel))
{
/* unselecting current selection */
+ XtFree(data->sel[which]);
data->sel[which] = NULL;
if (w)
XmListDeselectItem(w, call_data->item);
}
else
+ {
+ XtFree(data->sel[which]);
data->sel[which] = XtNewString(sel);
+ }
}
XtFree(sel);
diff --git a/src/version.c b/src/version.c
index 3b7be7cf0c..7e6b39d90e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 271,
+/**/
270,
/**/
269,