about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-20 18:11:08 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-20 23:36:10 +0100
commit1f8b1eb740391941e79e1004ad041f8178a2b674 (patch)
tree726eb598bfe2a99f80a239dc5b8f1c41ae5bae71 /tests/unittests
parent280b718cfb592f2eae317bf298a96a71fdf7dff9 (diff)
downloadprofani-tty-1f8b1eb740391941e79e1004ad041f8178a2b674.tar.gz
Allow utf8 symbols as omemo/pgp/otr indicator char
Fix https://github.com/profanity-im/profanity/issues/1264
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/ui/stub_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index c60ebc08..f9f8a201 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -532,7 +532,7 @@ void win_show_subwin(ProfWin *window) {}
 void win_refresh_without_subwin(ProfWin *window) {}
 void win_refresh_with_subwin(ProfWin *window) {}
 
-void win_println(ProfWin *window, theme_item_t theme, const char ch, const char *const message, ...)
+void win_println(ProfWin *window, theme_item_t theme, const char *ch, const char *const message, ...)
 {
     va_list args;
     va_start(args, message);
@@ -541,7 +541,7 @@ void win_println(ProfWin *window, theme_item_t theme, const char ch, const char
     va_end(args);
 }
 
-void win_print(ProfWin *window, theme_item_t theme_item, const char ch, const char *const message, ...) {}
+void win_print(ProfWin *window, theme_item_t theme_item, const char *ch, const char *const message, ...) {}
 void win_appendln(ProfWin *window, theme_item_t theme_item, const char *const message, ...) {}
 
 char* win_get_title(ProfWin *window)