commit | 9e54a0e753578e10910a842d631cffde32d1f133 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 14 20:42:25 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 14 20:42:25 2006 +0000 |
tree | 493fbfc4e3c943016355f7fd131bd6eadf02fd0a | |
parent | 7fc904b610d5739dd7b72fb2f6b0e4b330c97179 [diff] [blame] |
updated for version 7.0d04
diff --git a/src/gui_w48.c b/src/gui_w48.c index 7592c7f..f99662f 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c
@@ -2118,7 +2118,7 @@ hChild = rChild.bottom - rChild.top; /* If Vim is minimized put the window in the middle of the screen. */ - if (IsMinimized(hwndParent)) + if (hwndParent == NULL || IsMinimized(hwndParent)) { #ifdef WIN16 rParent.left = 0;