Francois Gouget : shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 3 06:48:31 CDT 2007


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Apr  2 19:20:29 2007 +0200

shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000.

---

 dlls/shell32/tests/shlexec.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index cb814d2..708c06c 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -347,15 +347,15 @@ static void doChild(int argc, char** argv)
         return;
 
     /* Arguments */
-    childPrintf(hFile, "[Arguments]\n");
+    childPrintf(hFile, "[Arguments]\r\n");
     if (winetest_debug > 2)
         trace("argcA=%d\n", argc);
-    childPrintf(hFile, "argcA=%d\n", argc);
+    childPrintf(hFile, "argcA=%d\r\n", argc);
     for (i = 0; i < argc; i++)
     {
         if (winetest_debug > 2)
             trace("argvA%d=%s\n", i, argv[i]);
-        childPrintf(hFile, "argvA%d=%s\n", i, encodeA(argv[i]));
+        childPrintf(hFile, "argvA%d=%s\r\n", i, encodeA(argv[i]));
     }
     CloseHandle(hFile);
 




More information about the wine-cvs mailing list