Rob Shearman : oledlg: Fix the type of ret in UIINSERTOBJECTDLG_PopulateObjectTypes.
Module: wine Branch: master Commit: 6357f9c02cb8b2990257ae03ea9e5f3ab8655bd1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6357f9c02cb8b2990257ae03ea... Author: Rob Shearman <robertshearman(a)gmail.com> Date: Tue Sep 30 13:55:22 2008 +0100 oledlg: Fix the type of ret in UIINSERTOBJECTDLG_PopulateObjectTypes. It is only used for storing the result of RegEnumKeyW so it should be LSTATUS instead of HRESULT. --- dlls/oledlg/insobjdlg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/oledlg/insobjdlg.c b/dlls/oledlg/insobjdlg.c index e875048..07c8a81 100644 --- a/dlls/oledlg/insobjdlg.c +++ b/dlls/oledlg/insobjdlg.c @@ -340,7 +340,7 @@ static BOOL UIINSERTOBJECTDLG_PopulateObjectTypes(InsertObjectDlgInfo* pdlgInfo) HKEY hkclsids; HKEY hkey; CLSID clsid; - HRESULT ret; + LSTATUS ret; WCHAR keydesc[MAX_PATH]; WCHAR keyname[MAX_PATH]; WCHAR szclsid[128];
participants (1)
-
Alexandre Julliard