diff options
| author | 2014-07-30 00:02:08 +0200 | |
|---|---|---|
| committer | 2014-07-30 01:11:09 +0200 | |
| commit | 6c66f9a8e5092b2f5d4e3e2fcfdd465ff675566a (patch) | |
| tree | 28c786a449e6de07cc421ed8e5d10438983f8d6f | |
| parent | b91b95d4f4be115b7a7c8d89c69938f58ca0dc44 (diff) | |
| download | xkbcat-6c66f9a8e5092b2f5d4e3e2fcfdd465ff675566a.tar.gz xkbcat-6c66f9a8e5092b2f5d4e3e2fcfdd465ff675566a.zip | |
`puts` when `printf`ing a string only
Easier to read. (Compilers would probably optimise the `printf` into a
`puts` anyway.)
| -rw-r--r-- | xkbcat.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -92,6 +92,5 @@ void printKeyPress(Display * disp, int code, bool down, bool printKeyUps) { if (printKeyUps) printf("%s %s\n", (down ? "+" : "-"), str); else - printf("%s\n", str); - + puts(str); } |
