user32: Pad lfFaceName so we don't write uninitialised data to the registry.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-04 14:28:04 +00:00 committed by Alexandre Julliard
parent 6fc8234300
commit 6b8c9aee4f

View file

@ -699,7 +699,7 @@ static BOOL SYSPARAMS_Save( LPCWSTR lpRegKey, LPCWSTR lpValName, LPCWSTR lpValue
/* Convenience function to save logical fonts */
static BOOL SYSPARAMS_SaveLogFont( LPCWSTR lpRegKey, LPCWSTR lpValName,
const LPLOGFONTW plf, UINT fWinIni )
const LOGFONTW *plf, UINT fWinIni )
{
LOGFONTW lf = *plf;
int len;