summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-23 19:41:44 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-23 19:41:44 +0200
commit3ed519c1c59b99e7a886f27e782f7daf70f30b7b (patch)
tree05399a4790c43fca7fec5ab20d6d29f5ad84a18b /degesch.c
parentca36726bf7b495fc8054e5c9acf93be6f155b8a0 (diff)
downloadxK-3ed519c1c59b99e7a886f27e782f7daf70f30b7b.tar.gz
xK-3ed519c1c59b99e7a886f27e782f7daf70f30b7b.tar.xz
xK-3ed519c1c59b99e7a886f27e782f7daf70f30b7b.zip
degesch: fix crash in the logger
Invalid arguments for the format string.
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 4bcb1d9..50544d5 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2387,7 +2387,7 @@ buffer_line_display (struct app_context *ctx,
break;
case BUFFER_LINE_QUIT:
formatter_add (&f, "#a<--#r ", ATTR_PART);
- formatter_add (&f, "#c#s#r (#a%s#r) #a#s#r",
+ formatter_add (&f, "#c#s#r (#a#s#r) #a#s#r",
nick_color, nick, ATTR_USERHOST, userhost,
ATTR_PART, "has quit");
if (a->reason)