msvcrt/tests: Use the C standard for multiline strings.

Michael Stefaniuc mstefani at redhat.de
Tue Dec 23 04:08:07 CST 2008


---
 dlls/msvcrt/tests/file.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c
index 66a0035..0f235b5 100644
--- a/dlls/msvcrt/tests/file.c
+++ b/dlls/msvcrt/tests/file.c
@@ -320,15 +320,15 @@ static void test_asciimode2(void)
     char ibuf[4];
     int i;
     static const char obuf[] =
-"00\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
-000000000000000000\n\
-1111111111111111111";
+"00\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
+"000000000000000000\n"
+"1111111111111111111";
 
     fp = fopen("ascii2.tst", "wt");
     fwrite(obuf, 1, sizeof(obuf), fp);
-- 
1.6.1.rc3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081223/28166113/attachment.pgp 


More information about the wine-patches mailing list