aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog4
-rw-r--r--widgets/misc/e-dateedit.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 357157efe1..86ad4d50cd 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-21 Wang Xin <jedy.wang@sun.com>
+
+ * e-dateedit.c: Fixes #439049.
+
2006-02-28 Andre Klapper <a9016009@gmx.de>
* e-clipped-label.c: add translator comments for a string.
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index a3e8dc21d8..df85c1b2ae 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -1495,9 +1495,10 @@ field_set_to_none (const char *text)
{
const char *pos;
const char *none_string;
+ int n;
pos = text;
- while (isspace (*pos))
+ while (n = (int)((unsigned char)*pos), isspace (n))
pos++;
none_string = _("None");