summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-08-22 23:06:30 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-08-22 23:06:30 +0200
commit73f2c2c48833568f0eb21b73ca8fed5603643d93 (patch)
tree07490885d9f4671c520eb32d401f8e33cb0112d2 /src
parentfc1e35fb488d803db430ef8696d2e6f370a0f30f (diff)
downloadweechat-73f2c2c48833568f0eb21b73ca8fed5603643d93.zip
core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer)
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index d596e1714..e45396acd 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -924,7 +924,7 @@ gui_chat_print_lines_waiting_buffer ()
{
for (i = 0; i < num_lines; i++)
{
- gui_chat_printf (NULL, lines[i]);
+ gui_chat_printf (NULL, "%s", lines[i]);
}
string_free_split (lines);
}