Added win_save_newline

This commit is contained in:
James Booth
2014-07-20 23:57:31 +01:00
parent 490e252fb4
commit f4fa0bc2dd
4 changed files with 21 additions and 14 deletions

View File

@@ -1375,7 +1375,7 @@ _ui_duck_result(const char * const result)
gchar *ptr = g_utf8_offset_to_pointer(result, offset);
gunichar unichar = g_utf8_get_char(ptr);
if (unichar == '\n') {
win_save_print(window, '-', NULL, NO_DATE, 0, "", "");
win_save_newline(window);
win_save_print(window, '-', NULL, NO_EOL, 0, "", "");
} else {
gchar *string = g_ucs4_to_utf8(&unichar, 1, NULL, NULL, NULL);
@@ -1388,7 +1388,7 @@ _ui_duck_result(const char * const result)
offset++;
}
win_save_print(window, '-', NULL, NO_DATE, 0, "", "");
win_save_newline(window);
}
}