Paul Vriens : programs/winetest: Show dll versions again for Win9x/WinME.

Alexandre Julliard julliard at winehq.org
Thu Mar 5 10:31:04 CST 2009


Module: wine
Branch: master
Commit: 6bbe4604d7c5a02e4d64027bb885ef74e1e4969e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6bbe4604d7c5a02e4d64027bb885ef74e1e4969e

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Mar  5 10:07:37 2009 +0100

programs/winetest: Show dll versions again for Win9x/WinME.

---

 programs/winetest/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 2df81fa..a07e3d9 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -564,6 +564,7 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
     *strstr(dllname, testexe) = 0;
 
     wine_tests[nr_of_files].maindllpath = NULL;
+    strcpy(filename, dllname);
     dll = LoadLibraryExA(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
     if (!dll && pLoadLibraryShim)
     {
@@ -580,6 +581,7 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
              * the tests for this dll.
              */
             GetModuleFileNameA(dll, dllpath, MAX_PATH);
+            strcpy(filename, dllpath);
             *strrchr(dllpath, '\\') = '\0';
             wine_tests[nr_of_files].maindllpath = xstrdup( dllpath );
         }
@@ -594,7 +596,6 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
         xprintf ("    %s=load error Gecko is not installed\n", dllname);
         return TRUE;
     }
-    GetModuleFileNameA(dll, filename, MAX_PATH);
     FreeLibrary(dll);
 
     if (!(err = get_subtests( tempdir, &wine_tests[nr_of_files], lpszName )))




More information about the wine-cvs mailing list