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

This commit is contained in:
Michael Stefaniuc 2012-08-17 16:19:28 +02:00 committed by Alexandre Julliard
parent 715372be62
commit e81c055e9c

View file

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