Andrew Eikum : ieframe/tests: Don' t convert to long path name until the file exists.
Alexandre Julliard
julliard at winehq.org
Thu Jan 24 12:59:50 CST 2013
Module: wine
Branch: master
Commit: b233d2054e64e216a5b3868f301bfc934b019b4b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b233d2054e64e216a5b3868f301bfc934b019b4b
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Thu Jan 24 10:35:00 2013 -0600
ieframe/tests: Don't convert to long path name until the file exists.
---
dlls/ieframe/tests/webbrowser.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/ieframe/tests/webbrowser.c b/dlls/ieframe/tests/webbrowser.c
index c1e8b49..1915876 100644
--- a/dlls/ieframe/tests/webbrowser.c
+++ b/dlls/ieframe/tests/webbrowser.c
@@ -3529,8 +3529,6 @@ static void test_FileProtocol(void)
GetTempPathA(MAX_PATH, file_path);
strcat(file_path, test_file);
- GetLongPathNameA(file_path, file_path, sizeof(file_path));
- strcat(file_url, file_path);
webbrowser = create_webbrowser();
if(!webbrowser)
@@ -3546,6 +3544,9 @@ static void test_FileProtocol(void)
}
CloseHandle(file);
+ GetLongPathNameA(file_path, file_path, sizeof(file_path));
+ strcat(file_url, file_path);
+
test_ConnectionPoint(webbrowser, TRUE);
test_ClientSite(webbrowser, &ClientSite, TRUE);
test_DoVerb(webbrowser);
More information about the wine-cvs
mailing list