libgnt/libgnt

Fix buffer size

2021-02-04, Richard Laager
f4557d5ed92d
Fix buffer size

../gntwm.c:819:47: warning: ‘__builtin___snprintf_chk’ output may be
truncated before the last format character [-Wformat-truncation=]
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note:
‘__builtin___snprintf_chk’ output between 8 and 13 bytes into a
destination of size 12

Testing Done:
With this change, the compiler warning is eliminated.

Reviewed at https://reviews.imfreedom.org/r/475/
foreach prog : ['combo', 'focus', 'tv', 'multiwin', 'keys', 'menu', 'parse']
executable(prog,
prog + '.c',
c_args : '-DSTANDALONE',
dependencies : [libgnt_dep, gobject, gmodule])
endforeach
shared_library('wm',
'wm.c',
name_prefix : '',
dependencies : [libgnt_dep, gobject, gmodule])