From 3ed519c1c59b99e7a886f27e782f7daf70f30b7b Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 23 May 2015 19:41:44 +0200
Subject: degesch: fix crash in the logger
Invalid arguments for the format string.
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
cgit v1.2.3-70-g09d2