git: tetris(6): Fix -Wformat-truncation warning.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Sun Jan 28 09:19:34 PST 2018
commit fc50dc0295fe6fc43d132beb38fdfd11caebf95b
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Sun Jan 28 19:03:17 2018 +0200
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).
Summary of changes:
games/sail/pl_main.c | 4 ++--
games/tetris/tetris.c | 14 ++++++++------
games/tetris/tetris.h | 2 +-
3 files changed, 11 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc50dc0295fe6fc43d132beb38fdfd11caebf95b
--
DragonFly BSD source repository
More information about the Commits
mailing list