Mercurial > pidgin
comparison libpurple/plugins/log_reader.c @ 18359:d1e7c8015308
using <br> as end of line instead of '\n' in QIP logger. With this change History plugin works fine
| author | Michael Shkutkov <mshkutkov@soc.pidgin.im> |
|---|---|
| date | Fri, 29 Jun 2007 18:56:56 +0000 |
| parents | 54251fa6389d |
| children | d8f783ed28d3 |
comparison
equal
deleted
inserted
replaced
| 18358:b246ffeb4756 | 18359:d1e7c8015308 |
|---|---|
| 2033 *c = '\0'; | 2033 *c = '\0'; |
| 2034 | 2034 |
| 2035 if (line[0] != '\n' && line[0] != '\r') { | 2035 if (line[0] != '\n' && line[0] != '\r') { |
| 2036 | 2036 |
| 2037 g_string_append(formatted, line); | 2037 g_string_append(formatted, line); |
| 2038 g_string_append_c(formatted, '\n'); | 2038 g_string_append(formatted, "<br>"); |
| 2039 } | 2039 } |
| 2040 line = ++c; | 2040 line = ++c; |
| 2041 } | 2041 } |
| 2042 } | 2042 } |
| 2043 g_free(contents); | 2043 g_free(contents); |
