Commit 063aa3a1 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

qedit/tests: Fix an incorrect count given to GetTempPathW.

parent bb52d301
......@@ -56,7 +56,7 @@ static BOOL init_tests(void)
if (size == 0)
return FALSE;
if (!GetTempPathW(sizeof temp_path, temp_path))
if (!GetTempPathW(MAX_PATH, temp_path))
return FALSE;
/* We might end up relying on the extension here, so .TMP is no good. */
......
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