Michael Stefaniuc : janitorial: In multiline strings there is no need for ' \' at the end of the lines.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 27 10:37:37 CST 2006


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Dec 27 00:19:50 2006 +0100

janitorial: In multiline strings there is no need for '\' at the end of the lines.

---

 dlls/comdlg32/tests/printdlg.c |    6 +++---
 dlls/ddraw/ddraw.c             |    2 +-
 dlls/msvcrt/except.c           |    2 +-
 dlls/netapi32/tests/apibuf.c   |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c
index 0ef12d7..227c61f 100644
--- a/dlls/comdlg32/tests/printdlg.c
+++ b/dlls/comdlg32/tests/printdlg.c
@@ -50,7 +50,7 @@ static void test_PrintDlgA(void)
     SetLastError(0xdeadbeef);
     res = PrintDlgA(NULL);
     ok( !res && (CommDlgExtendedError() == CDERR_INITIALIZATION),
-        "returned %d with 0x%x and 0x%x (expected '0' and " \
+        "returned %d with 0x%x and 0x%x (expected '0' and "
         "CDERR_INITIALIZATION)\n", res, GetLastError(), CommDlgExtendedError());
 
     ZeroMemory(pDlg, sizeof(PRINTDLGA));
@@ -58,7 +58,7 @@ static void test_PrintDlgA(void)
     SetLastError(0xdeadbeef);
     res = PrintDlgA(pDlg);
     ok( !res && (CommDlgExtendedError() == CDERR_STRUCTSIZE),
-        "returned %d with 0x%x and 0x%x (expected '0' and " \
+        "returned %d with 0x%x and 0x%x (expected '0' and "
         "CDERR_STRUCTSIZE)\n", res, GetLastError(), CommDlgExtendedError());
 
 
@@ -68,7 +68,7 @@ static void test_PrintDlgA(void)
     SetLastError(0xdeadbeef);
     res = PrintDlgA(pDlg);
     ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN),
-        "returned %d with 0x%x and 0x%x (expected '!= 0' or '0' and " \
+        "returned %d with 0x%x and 0x%x (expected '!= 0' or '0' and "
         "PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError());
 
     HeapFree(GetProcessHeap(), 0, pDlg);
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 8f051d4..8b80586 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -1169,7 +1169,7 @@ IDirectDrawImpl_TestCooperativeLevel(IDi
 
         case WINED3DERR_DRIVERINTERNALERROR:
         default:
-            ERR("(%p) Unexpected return value %08x from wineD3D, " \
+            ERR("(%p) Unexpected return value %08x from wineD3D, "
                 " returning DD_OK\n", This, hr);
     }
 
diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
index a218387..07cc61a 100644
--- a/dlls/msvcrt/except.c
+++ b/dlls/msvcrt/except.c
@@ -68,7 +68,7 @@ typedef struct _MSVCRT_EXCEPTION_FRAME
 #if defined(__GNUC__) && defined(__i386__)
 inline static void call_finally_block( void *code_block, void *base_ptr )
 {
-    __asm__ __volatile__ ("movl %1,%%ebp; call *%%eax" \
+    __asm__ __volatile__ ("movl %1,%%ebp; call *%%eax"
                           : : "a" (code_block), "g" (base_ptr));
 }
 
diff --git a/dlls/netapi32/tests/apibuf.c b/dlls/netapi32/tests/apibuf.c
index 4ef99c9..1ec79af 100644
--- a/dlls/netapi32/tests/apibuf.c
+++ b/dlls/netapi32/tests/apibuf.c
@@ -83,13 +83,13 @@ static void run_apibuf_tests(void)
     SetLastError(0xdeadbeef);
     res = pNetApiBufferAllocate(0, (LPVOID *)NULL);
     ok( (res == ERROR_INVALID_PARAMETER) && (GetLastError() == 0xdeadbeef),
-        "returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with " \
+        "returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
         "0xdeadbeef)\n", res, GetLastError());
 
     SetLastError(0xdeadbeef);
     res = pNetApiBufferAllocate(1024, (LPVOID *)NULL);    
     ok( (res == ERROR_INVALID_PARAMETER) && (GetLastError() == 0xdeadbeef),
-        "returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with " \
+        "returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
         "0xdeadbeef)\n", res, GetLastError());
 }
 




More information about the wine-cvs mailing list