mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
advpack/tests: Use the global "current directory" variable.
This commit is contained in:
parent
715372be62
commit
e81c055e9c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user