aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorWang Xin <jedy.wang@sun.com>2007-05-21 14:23:04 +0800
committerJedy Jedy Wang <jedywang@src.gnome.org>2007-05-21 14:23:04 +0800
commit70a55f59e11d90f343200e44045253e61c410f03 (patch)
tree24cc2482fc00457bd520a18331c77dfd21952c5b /widgets/misc
parent10ded337c7d33b99efbbda5d15704590e46c4685 (diff)
downloadgsoc2013-evolution-70a55f59e11d90f343200e44045253e61c410f03.tar.gz
gsoc2013-evolution-70a55f59e11d90f343200e44045253e61c410f03.tar.zst
gsoc2013-evolution-70a55f59e11d90f343200e44045253e61c410f03.zip
Fixes #439049.
2007-05-21 Wang Xin <jedy.wang@sun.com> * e-dateedit.c: Fixes #439049. svn path=/trunk/; revision=33560
Diffstat (limited to 'widgets/misc')
-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");