+2003-02-17
+
+ * src/procheader.c: procheader_date_parse(): made month string case
+ insensitive.
+ * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
+ selection list is empty.
+
2003-02-14
* src/quote_fmt_parse.y: removed gettext translatable strings.
+2003-02-17 [paul] 0.8.10claws16
+
+ * sync with 0.8.10cvs12
+ see ChangeLog 2003-02-17
+
2003-02-16 [match] 0.8.10claws15
* src/addressbook.c
+2003-02-17
+
+ * src/procheader.c: procheader_date_parse(): ·î¤Îʸ»úÎó¤òÂ羮ʸ»ú¤ò
+ ¶èÊ̤·¤Ê¤¤¤è¤¦¤Ë¤·¤¿¡£
+ * src/prefs_filter.c: prefs_filter_close(): ¥»¥ì¥¯¥·¥ç¥ó¥ê¥¹¥È¤¬
+ ¶õ¤Î¾ì¹ç¤Î¥¯¥é¥Ã¥·¥å¤ò½¤Àµ¡£
+
2003-02-14
* src/quote_fmt_parse.y: gettext ËÝÌõ²Äǽ¤Êʸ»úÎó¤òºï½ü¡£
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2002 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2003 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
gint year;
gint hh, mm, ss;
gchar zone[6];
- GDateMonth dmonth;
+ GDateMonth dmonth = G_DATE_BAD_MONTH;
struct tm t;
gchar *p;
time_t timer;
}
month[3] = '\0';
- if ((p = strstr(monthstr, month)) != NULL)
- dmonth = (gint)(p - monthstr) / 3 + 1;
- else {
- g_warning("Invalid month: %s\n", month);
- dmonth = G_DATE_BAD_MONTH;
+ for (p = monthstr; *p != '\0'; p += 3) {
+ if (!strncasecmp(p, month, 3)) {
+ dmonth = (gint)(p - monthstr) / 3 + 1;
+ break;
+ }
}
+ if (*p == '\0')
+ g_warning("Invalid month: %s\n", month);
t.tm_sec = ss;
t.tm_min = mm;