SHELL32/tests: rollback some moved code

Saulius Krasuckas saulius2 at ar.fi.lt
Wed Jun 22 00:58:53 CDT 2005


Oops, I have moved one line too much in my last patch, AFAICS.


ChangeLog:
        Saulius Krasuckas <saulius.krasuckas at ieee.org>
        Move test init code back to START_TEST(shlfolder).


Index: dlls/shell32/tests/shlfolder.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/tests/shlfolder.c,v
retrieving revision 1.17
diff -p -u -r1.17 shlfolder.c
--- dlls/shell32/tests/shlfolder.c      21 Jun 2005 20:04:17 -0000      1.17
+++ dlls/shell32/tests/shlfolder.c      22 Jun 2005 05:53:01 -0000
@@ -456,8 +456,6 @@ static void test_EnumObjects_and_Compare
     static const WCHAR cTestDirW[] = {'\\','t','e','s','t','d','i','r',0};
     HRESULT hr;
     
-    init_function_pointers();
-
     GetCurrentDirectoryA(MAX_PATH, cCurrDirA);
     MultiByteToWideChar(CP_ACP, 0, cCurrDirA, -1, cCurrDirW, MAX_PATH);
     strcatW(cCurrDirW, cTestDirW);
@@ -490,6 +488,8 @@ static void test_EnumObjects_and_Compare
 
 START_TEST(shlfolder)
 {
+    init_function_pointers();
+
     test_EnumObjects_and_CompareIDs();
     test_BindToObject();
     test_GetDisplayName();




More information about the wine-patches mailing list