[PATCH 2/7] qedit/tests: Use the W version of FindResource().

Michael Stefaniuc mstefani at redhat.de
Tue Oct 1 16:16:31 CDT 2013


---
 dlls/qedit/tests/mediadet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/qedit/tests/mediadet.c b/dlls/qedit/tests/mediadet.c
index 42a1184..42ac7dc 100644
--- a/dlls/qedit/tests/mediadet.c
+++ b/dlls/qedit/tests/mediadet.c
@@ -84,7 +84,7 @@ static BOOL unpack_avi_file(int id, WCHAR name[MAX_PATH])
     DWORD size, written;
     HANDLE fh;
 
-    res = FindResource(NULL, MAKEINTRESOURCE(id), MAKEINTRESOURCE(AVI_RES_TYPE));
+    res = FindResourceW(NULL, MAKEINTRESOURCEW(id), MAKEINTRESOURCEW(AVI_RES_TYPE));
     if (!res)
         return FALSE;
 
-- 
1.8.3.1



More information about the wine-patches mailing list