Commit 6b8c9aee authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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

Found by Valgrind.
parent 6fc82343
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment