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

Alexandre Julliard julliard at winehq.org
Wed Apr 9 05:31:32 CDT 2008


Module: wine
Branch: master
Commit: 063aa3a1afb6c5441f76a13dc16e3fddf47ff99e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=063aa3a1afb6c5441f76a13dc16e3fddf47ff99e

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Tue Apr  8 16:51:28 2008 -0700

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

---

 dlls/qedit/tests/mediadet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/qedit/tests/mediadet.c b/dlls/qedit/tests/mediadet.c
index 0870fd0..3f8016d 100644
--- a/dlls/qedit/tests/mediadet.c
+++ b/dlls/qedit/tests/mediadet.c
@@ -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.  */




More information about the wine-cvs mailing list