mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 20:18:28 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue