diff options
author | Wang Xin <jedy.wang@sun.com> | 2007-05-21 14:23:04 +0800 |
---|---|---|
committer | Jedy Jedy Wang <jedywang@src.gnome.org> | 2007-05-21 14:23:04 +0800 |
commit | 70a55f59e11d90f343200e44045253e61c410f03 (patch) | |
tree | 24cc2482fc00457bd520a18331c77dfd21952c5b /widgets | |
parent | 10ded337c7d33b99efbbda5d15704590e46c4685 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | widgets/misc/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 3 |
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"); |