Alexandre Julliard : shell32/tests: Wait a bit longer for the explorer window to be created.

Alexandre Julliard julliard at winehq.org
Thu Jan 10 13:27:10 CST 2019


Module: wine
Branch: master
Commit: 2d6de2d129b39d2a0c4ffafa84dabed21c0e830e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2d6de2d129b39d2a0c4ffafa84dabed21c0e830e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan 10 12:58:48 2019 -0600

shell32/tests: Wait a bit longer for the explorer window to be created.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/progman_dde.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c
index 62ed413..2d19404 100644
--- a/dlls/shell32/tests/progman_dde.c
+++ b/dlls/shell32/tests/progman_dde.c
@@ -166,7 +166,7 @@ static BOOL check_window_exists(const char *name)
 
     for (i = 0; i < 20; i++)
     {
-        Sleep(100);
+        Sleep(100 * i);
         if ((window = FindWindowA("ExplorerWClass", title)) ||
             (window = FindWindowA("CabinetWClass", title)))
         {




More information about the wine-cvs mailing list