[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:04:01 UTC 2012
The following commit has been merged in the wheezy branch:
commit f4c3668901dac06dc72f9eb8166264c3c333128c
Author: Daniel Jelinski <djelinski1 at gmail.com>
Date: Thu Jun 7 00:46:47 2012 +0200
comdlg32: Fixed support for deleting items other than the first.
(cherry picked from commit aec1c9562d69168626f5018eb29074e8c3d4ab08)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index f700891..66a25bc 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -3380,7 +3380,7 @@ static HRESULT WINAPI IFileDialogCustomize_fnRemoveControlItem(IFileDialogCustom
return E_FAIL;
for(i = 0; i < count; i++)
- if(SendMessageW(ctrl->hwnd, CB_GETITEMDATA, 0, 0) == dwIDItem)
+ if(SendMessageW(ctrl->hwnd, CB_GETITEMDATA, i, 0) == dwIDItem)
{
if(SendMessageW(ctrl->hwnd, CB_DELETESTRING, i, 0) == CB_ERR)
return E_FAIL;
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list