Fix possible missing NUL at end of string
commite01d14abe4fe1a7d71ef495c6931c0b4a1703aa9
authorChristophe CURIS <christophe.curis@free.nospam.fr>
Fri, 29 Jul 2011 20:38:09 +0000 (29 22:38 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 8 Aug 2011 17:11:22 +0000 (8 19:11 +0200)
tree98e0bd27ac7b4d18d0e6c257b640d56d40463079
parente499f31a4e775df5c2442ccc2c802fb5d280beff
Fix possible missing NUL at end of string

There are were a few uses of 'strncpy' that could lead to a missing NUL,
resulting in possible garbage being displayed. As suggested by Tamas,
use 'wstrlcpy' instead
WINGs/wcolorpanel.c
src/defaults.c
src/rootmenu.c
src/usermenu.c
src/workspace.c