user32: Pad lfFaceName so we don't write uninitialised data to the registry.
Found by Valgrind.
This commit is contained in:
parent
6fc8234300
commit
6b8c9aee4f
|
@ -699,7 +699,7 @@ static BOOL SYSPARAMS_Save( LPCWSTR lpRegKey, LPCWSTR lpValName, LPCWSTR lpValue
|
||||||
|
|
||||||
/* Convenience function to save logical fonts */
|
/* Convenience function to save logical fonts */
|
||||||
static BOOL SYSPARAMS_SaveLogFont( LPCWSTR lpRegKey, LPCWSTR lpValName,
|
static BOOL SYSPARAMS_SaveLogFont( LPCWSTR lpRegKey, LPCWSTR lpValName,
|
||||||
const LPLOGFONTW plf, UINT fWinIni )
|
const LOGFONTW *plf, UINT fWinIni )
|
||||||
{
|
{
|
||||||
LOGFONTW lf = *plf;
|
LOGFONTW lf = *plf;
|
||||||
int len;
|
int len;
|
||||||
|
|
Loading…
Reference in New Issue