Module: wine Branch: master Commit: b4f2c5068790f0615609bce27e2f6f936608a390 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4f2c5068790f0615609bce27e...
Author: Detlef Riekenberg wine.dev@web.de Date: Mon Jul 21 00:17:55 2008 +0200
oleaut32/tests: Run more typelib tests on win9x.
---
dlls/oleaut32/tests/typelib.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c index 3479c18..868470d 100644 --- a/dlls/oleaut32/tests/typelib.c +++ b/dlls/oleaut32/tests/typelib.c @@ -672,11 +672,13 @@ static void test_inheritance(void) HREFTYPE href; FUNCDESC *pFD; WCHAR path[MAX_PATH]; + CHAR pathA[MAX_PATH]; static const WCHAR tl_path[] = {'.','\','m','i','d','l','_','t','m','a','r','s','h','a','l','.','t','l','b',0};
BOOL use_midl_tlb = 0;
- GetModuleFileNameW(NULL, path, MAX_PATH); + GetModuleFileNameA(NULL, pathA, MAX_PATH); + MultiByteToWideChar(CP_ACP, 0, pathA, -1, path, MAX_PATH);
if(use_midl_tlb) memcpy(path, tl_path, sizeof(tl_path));