Mercurial > pidgin.yaz
diff src/gtkthemes.c @ 12915:fe2cb084ab16
[gaim-migrate @ 15268]
SF Patch #1405994 from Sadrul
"This patch allows themes to define smileys with spaces
in them, escaped by a \. It seems to be working for me."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 17 Jan 2006 16:59:51 +0000 |
parents | 1e7c0773380f |
children | 541486fde12b |
line wrap: on
line diff
--- a/src/gtkthemes.c Tue Jan 17 16:13:24 2006 +0000 +++ b/src/gtkthemes.c Tue Jan 17 16:59:51 2006 +0000 @@ -172,8 +172,11 @@ while (*i) { char l[64]; int li = 0; - while (!isspace(*i)) + while (!isspace(*i)) { + if (*i == '\\' && *(i+1) != '\0' ) + i++; l[li++] = *(i++); + } if (!sfile) { l[li] = 0; sfile = g_build_filename(dirname, l, NULL);