"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/fe-text/textbuffer.c" between
irssi-1.2.2.tar.gz and irssi-1.2.3.tar.gz

About: irssi is a terminal based IRC client that also supports SILC and ICB protocols via plugins.

textbuffer.c  (irssi-1.2.2):textbuffer.c  (irssi-1.2.3)
skipping to change at line 453 skipping to change at line 453
} }
} }
void textbuffer_line2text(LINE_REC *line, int coloring, GString *str) void textbuffer_line2text(LINE_REC *line, int coloring, GString *str)
{ {
unsigned char cmd, *ptr, *tmp; unsigned char cmd, *ptr, *tmp;
g_return_if_fail(line != NULL); g_return_if_fail(line != NULL);
g_return_if_fail(str != NULL); g_return_if_fail(str != NULL);
g_string_truncate(str, 0); g_string_truncate(str, 0);
g_return_if_fail(line->text != NULL);
for (ptr = line->text;;) { for (ptr = line->text;;) {
if (*ptr != 0) { if (*ptr != 0) {
g_string_append_c(str, (char) *ptr); g_string_append_c(str, (char) *ptr);
ptr++; ptr++;
continue; continue;
} }
ptr++; ptr++;
cmd = *ptr; cmd = *ptr;
ptr++; ptr++;
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)