Mercurial > pidgin.yaz
comparison plugins/chatlist.c @ 3000:6d95285533df
[gaim-migrate @ 3013]
Played with the font loader some more in gtkimhtml.c
This one is the closest I've done to Eric's, I think. It should cause the least problems.
Also fixed the chatlist plugin again.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 04 Mar 2002 03:04:49 +0000 |
parents | 7239a392486c |
children | ee79ca85fe0f |
comparison
equal
deleted
inserted
replaced
2999:82b1553d53d0 | 3000:6d95285533df |
---|---|
176 if (c - text > len - 30) | 176 if (c - text > len - 30) |
177 break; /* assume no chat rooms 30 from end, padding */ | 177 break; /* assume no chat rooms 30 from end, padding */ |
178 if (!g_strncasecmp(AOL_SRCHSTR, c, strlen(AOL_SRCHSTR))) { | 178 if (!g_strncasecmp(AOL_SRCHSTR, c, strlen(AOL_SRCHSTR))) { |
179 char *t; | 179 char *t; |
180 int len = 0; | 180 int len = 0; |
181 int exchange = 4; | 181 int exchange = 5; |
182 char *name = NULL; | 182 char *name = NULL; |
183 | 183 |
184 c += strlen(AOL_SRCHSTR); | 184 c += strlen(AOL_SRCHSTR); |
185 t = c; | 185 t = c; |
186 while (t) { | 186 while (t) { |
188 name = g_realloc(name, len); | 188 name = g_realloc(name, len); |
189 if (*t == '+') | 189 if (*t == '+') |
190 name[len - 1] = ' '; | 190 name[len - 1] = ' '; |
191 else if (*t == '&') { | 191 else if (*t == '&') { |
192 name[len - 1] = 0; | 192 name[len - 1] = 0; |
193 sscanf(t, "&Exchange=%d", &exchange); | 193 sscanf(t, "&Exchange=%d", &exchange); |
194 c = t + strlen("&Exchange=x"); | 194 c = t + strlen("&Exchange=x"); |
195 break; | 195 break; |
196 } else | 196 } else |
197 name[len - 1] = *t; | 197 name[len - 1] = *t; |
198 t++; | 198 t++; |
199 } | 199 } |