Michael Stefaniuc : mscms/tests: Inline a simple string.
Alexandre Julliard
julliard at winehq.org
Mon Nov 16 15:28:55 CST 2020
Module: wine
Branch: master
Commit: d8b26261e95df69f7b677c415dd712d9bef37c1b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d8b26261e95df69f7b677c415dd712d9bef37c1b
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Sun Nov 15 23:11:19 2020 +0100
mscms/tests: Inline a simple string.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscms/tests/profile.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index 063ea22420d..be4eaa66c00 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -772,7 +772,6 @@ static void test_InstallColorProfileA( char *standardprofile, char *testprofile
{
CHAR dest[MAX_PATH], base[MAX_PATH];
DWORD size = sizeof(dest);
- CHAR slash[] = "\\";
HANDLE handle;
SetLastError(0xdeadbeef);
@@ -789,7 +788,7 @@ static void test_InstallColorProfileA( char *standardprofile, char *testprofile
MSCMS_basenameA( testprofile, base );
- lstrcatA( dest, slash );
+ lstrcatA( dest, "\\" );
lstrcatA( dest, base );
/* Check if the profile is really there */
@@ -1157,7 +1156,6 @@ static void test_UninstallColorProfileA( char *testprofile )
{
CHAR dest[MAX_PATH], base[MAX_PATH];
DWORD size = sizeof(dest);
- CHAR slash[] = "\\";
HANDLE handle;
SetLastError(0xdeadbeef);
@@ -1174,7 +1172,7 @@ static void test_UninstallColorProfileA( char *testprofile )
MSCMS_basenameA( testprofile, base );
- lstrcatA( dest, slash );
+ lstrcatA( dest, "\\" );
lstrcatA( dest, base );
ret = pUninstallColorProfileA( NULL, dest, TRUE );
More information about the wine-cvs
mailing list