Don't print some silly null bytes.

This commit is contained in:
siers 2014-08-03 06:53:01 +03:00
parent 7716a0b408
commit 6394507a34

View File

@ -1340,7 +1340,7 @@ main (int argc, char **argv)
{ {
bool entered = ev->response_type == XCB_ENTER_NOTIFY; bool entered = ev->response_type == XCB_ENTER_NOTIFY;
if (enterleave) if (enterleave)
write(STDOUT_FILENO, entered ? "enter\n" : "leave\n", 7); write(STDOUT_FILENO, entered ? "enter\n" : "leave\n", 6);
} }
break; break;
} }