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

Michael Stefaniuc mstefani at redhat.de
Tue Dec 26 17:19:50 CST 2006


---
 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(IDirectDraw7 *iface)
 
         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());
 }
 
-- 
1.4.4.2
-------------- 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/20061227/0e62b2ec/attachment.pgp


More information about the wine-patches mailing list