[ekg2-commit] ekg2: themes.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Nie, 16 Wrz 2007, 11:07:08 CEST
Module name: ekg2
Changes by: peres 2007-09-16 11:07:05
Modified files:
themes.c
Log message:
This should fix using female suffix with nicknames ending in national
characters with utf-8.
Index: themes.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/themes.c,v
diff -d -u -r1.207 -r1.208
--- themes.c 5 Sep 2007 18:36:09 -0000 1.207
+++ themes.c 16 Sep 2007 09:07:04 -0000 1.208
@@ -326,7 +326,7 @@
if (str) {
char *q = str + xstrlen(str) - 1;
- while (q >= str && !isalpha_pl_PL(*q))
+ while (q >= str && (isspace(*q) || ispunct(*q)))
q--;
if (*q == 'a')
Więcej informacji o liście dyskusyjnej ekg2-commit