mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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 */
|
||||
static BOOL SYSPARAMS_SaveLogFont( LPCWSTR lpRegKey, LPCWSTR lpValName,
|
||||
const LPLOGFONTW plf, UINT fWinIni )
|
||||
const LOGFONTW *plf, UINT fWinIni )
|
||||
{
|
||||
LOGFONTW lf = *plf;
|
||||
int len;
|
||||
|
Loading…
Reference in New Issue
Block a user