qedit/tests: Fix an incorrect count given to GetTempPathW.
This commit is contained in:
parent
bb52d30111
commit
063aa3a1af
|
@ -56,7 +56,7 @@ static BOOL init_tests(void)
|
||||||
if (size == 0)
|
if (size == 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!GetTempPathW(sizeof temp_path, temp_path))
|
if (!GetTempPathW(MAX_PATH, temp_path))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* We might end up relying on the extension here, so .TMP is no good. */
|
/* We might end up relying on the extension here, so .TMP is no good. */
|
||||||
|
|
Loading…
Reference in New Issue