wok-6.x view fltk/stuff/fl_set_fonts_xft.patch @ rev 4698
Up: gajim (0.13.1) + remove patch
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 02 10:01:42 2010 +0100 (2010-01-02) |
parents | |
children |
line source
1 --- src/fl_set_fonts_xft.cxx 2009-03-04 10:58:49.000000000 +0000
2 +++ src/fl_set_fonts_xft.cxx 2009-03-04 11:01:25.000000000 +0000
3 @@ -253,13 +253,13 @@
4 // So the bit we want is up to the first comma - BUT some strings have
5 // more than one name, separated by, guess what?, a comma...
6 stop = start = first = 0;
7 - stop = strchr((const char *)font, ',');
8 - start = strchr((const char *)font, ':');
9 + stop = strchr((char *)font, ',');
10 + start = strchr((char *)font, ':');
11 if ((stop) && (start) && (stop < start))
12 {
13 first = stop + 1; // discard first version of name
14 // find first comma *after* the end of the name
15 - stop = strchr((const char *)start, ',');
16 + stop = strchr((char *)start, ',');
17 }
18 else
19 {