[1/5] comdlg32: Fix ignored out parameter.
Vincent Povirk
madewokherd at gmail.com
Fri Sep 11 13:36:12 CDT 2015
-------------- next part --------------
From c4051bdaba3490e82e1f96114c2b78b8505463cc Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Fri, 11 Sep 2015 11:17:52 -0500
Subject: [PATCH 1/5] comdlg32: Fix ignored out parameter.
---
dlls/comdlg32/itemdlg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 8a52d71..c8340df 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -804,6 +804,8 @@ static HRESULT add_item(customctrl* parent, DWORD itemid, LPCWSTR label, cctrl_i
item->cdcstate = CDCS_VISIBLE|CDCS_ENABLED;
list_add_tail(&parent->sub_items, &item->entry);
+ *result = item;
+
return S_OK;
}
--
2.1.4
More information about the wine-patches
mailing list