comctl32: Fix a typo in the TB_SAVERESTOREA handler.
This commit is contained in:
parent
0de1c331d6
commit
5c4dc9fc56
|
@ -4204,7 +4204,7 @@ TOOLBAR_SaveRestoreA (TOOLBAR_INFO *infoPtr, WPARAM wParam, const TBSAVEPARAMSA
|
|||
|
||||
len = MultiByteToWideChar(CP_ACP, 0, lpSave->pszSubKey, -1, NULL, 0);
|
||||
pszSubKey = Alloc(len * sizeof(WCHAR));
|
||||
if (pszSubKey) goto exit;
|
||||
if (!pszSubKey) goto exit;
|
||||
MultiByteToWideChar(CP_ACP, 0, lpSave->pszSubKey, -1, pszSubKey, len);
|
||||
|
||||
len = MultiByteToWideChar(CP_ACP, 0, lpSave->pszValueName, -1, NULL, 0);
|
||||
|
|
Loading…
Reference in New Issue