mscms/tests: Inline a simple string.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-11-15 23:11:19 +01:00 committed by Alexandre Julliard
parent e32d62df43
commit d8b26261e9
1 changed files with 2 additions and 4 deletions

View File

@ -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 );