tetris(6): Fix -Wformat-truncation warning.
authorzrj <rimvydas.jasinskas@gmail.com>
Sun, 28 Jan 2018 17:03:17 +0000 (19:03 +0200)
committerzrj <zrj@dragonflybsd.org>
Sun, 28 Jan 2018 17:24:16 +0000 (19:24 +0200)
commitfc50dc0295fe6fc43d132beb38fdfd11caebf95b
tree9c6007db2f88308ea5583114f1abf397f16b00b2
parent3536f98c1c75c45bd29f481cf18b0f90cea395f7
tetris(6): Fix -Wformat-truncation warning.

Also make use of macro instead of relying on magic numbers for keys.

While there, do a similar thing in sail(6).
games/sail/pl_main.c
games/tetris/tetris.c
games/tetris/tetris.h