From 70a55f59e11d90f343200e44045253e61c410f03 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Mon, 21 May 2007 06:23:04 +0000 Subject: Fixes #439049. 2007-05-21 Wang Xin * e-dateedit.c: Fixes #439049. svn path=/trunk/; revision=33560 --- widgets/misc/ChangeLog | 4 ++++ widgets/misc/e-dateedit.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'widgets/misc') 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 + + * e-dateedit.c: Fixes #439049. + 2006-02-28 Andre Klapper * 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"); -- cgit