Mercurial > pidgin
comparison libpurple/plugins/log_reader.c @ 25218:bdd00a7113d7
propagate from branch 'im.pidgin.pidgin' (head f3891f3348abfe90fbe60a054833c12075aa8df4)
to branch 'im.pidgin.cpw.malu.xmpp.attention' (head d235bb23dbe13535f85e071d6c4f42e07ac6e0ce)
| author | Marcus Lundblad <ml@update.uu.se> |
|---|---|
| date | Sun, 16 Nov 2008 15:39:46 +0000 |
| parents | f3c48d7db093 |
| children | 8d1e8060b1d8 |
comparison
equal
deleted
inserted
replaced
| 25217:2f01775c81d5 | 25218:bdd00a7113d7 |
|---|---|
| 1969 /* Apply formatting... */ | 1969 /* Apply formatting... */ |
| 1970 formatted = g_string_sized_new(data->length + 2); | 1970 formatted = g_string_sized_new(data->length + 2); |
| 1971 c = contents; | 1971 c = contents; |
| 1972 line = contents; | 1972 line = contents; |
| 1973 | 1973 |
| 1974 while (*c) { | 1974 while (c && *c) { |
| 1975 gboolean is_in_message = FALSE; | 1975 gboolean is_in_message = FALSE; |
| 1976 | 1976 |
| 1977 if (purple_str_has_prefix(line, QIP_LOG_IN_MESSAGE_ESC) || | 1977 if (purple_str_has_prefix(line, QIP_LOG_IN_MESSAGE_ESC) || |
| 1978 purple_str_has_prefix(line, QIP_LOG_OUT_MESSAGE_ESC)) { | 1978 purple_str_has_prefix(line, QIP_LOG_OUT_MESSAGE_ESC)) { |
| 1979 | 1979 |
