From 8a112f4e6206e0a7a55086a0e311231458535add Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 26 Oct 2000 21:48:49 +0000 Subject: unsigned chars to isalpha 2000-10-26 Michael Meeks * pcs/cal-factory.c (str_tolower): unsigned chars to isalpha * cal-util/calobj.c (weekdaylist, weekdaynum): ditto. svn path=/trunk/; revision=6217 --- calendar/ChangeLog | 6 ++++++ calendar/cal-util/calobj.c | 4 ++-- calendar/gui/Evolution-Composer.h | 1 - calendar/pcs/cal-factory.c | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e5233376cc..19b40874da 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2000-10-26 Michael Meeks + + * pcs/cal-factory.c (str_tolower): unsigned chars to isalpha + + * cal-util/calobj.c (weekdaylist, weekdaynum): ditto. + 2000-10-25 Jesse Pavel * gui/e-meeting-edit.c: brushed up some code to deal with diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c index 0ede42ebc6..bcb1b9bb88 100644 --- a/calendar/cal-util/calobj.c +++ b/calendar/cal-util/calobj.c @@ -253,7 +253,7 @@ weekdaylist (iCalObject *o, char **str) (*str)++; } } - } while (isalpha (**str)); + } while (isalpha ((unsigned char) **str)); if (o->recur->weekday == 0){ struct tm tm = *localtime (&o->dtstart); @@ -289,7 +289,7 @@ weekdaynum (iCalObject *o, char **str) (*str)++; } } - } while (isalpha (**str)); + } while (isalpha ((unsigned char) **str)); } static void diff --git a/calendar/gui/Evolution-Composer.h b/calendar/gui/Evolution-Composer.h index 3ff12cfa93..f99f5eca3e 100644 --- a/calendar/gui/Evolution-Composer.h +++ b/calendar/gui/Evolution-Composer.h @@ -15,7 +15,6 @@ extern "C" /** typedefs **/ #include -# 13 "/opt/gnome/share/idl/Bonobo.idl" #if !defined(ORBIT_DECL_Evolution_Composer) && !defined(_Evolution_Composer_defined) #define ORBIT_DECL_Evolution_Composer 1 #define _Evolution_Composer_defined 1 diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index a89f2fe9f4..a67f8b777f 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -785,7 +785,7 @@ static char * str_tolower (const char *s) { char *str; - char *p; + unsigned char *p; str = g_strdup (s); for (p = str; *p; p++) -- cgit v1.2.3