about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-07-20 23:57:31 +0100
committerJames Booth <boothj5@gmail.com>2014-07-20 23:57:31 +0100
commitf4fa0bc2dd742083f00ef98051e98d892a906dd6 (patch)
tree44ae23477c65f1ca25b51c2a9e98681846ffe4be /src/ui/core.c
parent490e252fb401a0fb067022693ef709595648c569 (diff)
downloadprofani-tty-f4fa0bc2dd742083f00ef98051e98d892a906dd6.tar.gz
Added win_save_newline
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 931fedd4..32dfaf11 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -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);
     }
 }