Commit e81c055e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

advpack/tests: Use the global "current directory" variable.

parent 715372be
......@@ -474,7 +474,6 @@ static void test_AdvInstallFile(void)
{
HRESULT hr;
HMODULE hmod;
char CURR_DIR[MAX_PATH];
char destFolder[MAX_PATH];
hmod = LoadLibrary("setupapi.dll");
......@@ -486,8 +485,6 @@ static void test_AdvInstallFile(void)
FreeLibrary(hmod);
GetCurrentDirectoryA(MAX_PATH, CURR_DIR);
lstrcpyA(destFolder, CURR_DIR);
lstrcatA(destFolder, "\\");
lstrcatA(destFolder, "dest");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment