comctl32: Fix a typo in the TB_SAVERESTOREA handler.

This commit is contained in:
Huw Davies 2015-05-20 12:02:10 +01:00 committed by Alexandre Julliard
parent 0de1c331d6
commit 5c4dc9fc56
1 changed files with 1 additions and 1 deletions

View File

@ -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);