From 6394507a346e3497dc3fbaaacbeba50711e2bb4c Mon Sep 17 00:00:00 2001 From: siers Date: Sun, 3 Aug 2014 06:53:01 +0300 Subject: [PATCH] Don't print some silly null bytes. --- lemonbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonbar.c b/lemonbar.c index 2db2322..94ceb8b 100644 --- a/lemonbar.c +++ b/lemonbar.c @@ -1340,7 +1340,7 @@ main (int argc, char **argv) { bool entered = ev->response_type == XCB_ENTER_NOTIFY; if (enterleave) - write(STDOUT_FILENO, entered ? "enter\n" : "leave\n", 7); + write(STDOUT_FILENO, entered ? "enter\n" : "leave\n", 6); } break; }