summaryrefslogtreecommitdiff
path: root/BPQTermMDI.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-04-06 02:10:08 +0100
committerDave Hibberd <hibby@debian.org>2024-04-06 02:10:08 +0100
commit933e6c5b86d989cd13e9694fe53f910b5963c955 (patch)
tree999e544181f12ba909410c3de38d2f9606def839 /BPQTermMDI.c
parent5332f8b012034ba142c4a24fc6df74dfdc54f5a0 (diff)
New upstream version 6.0.24.34upstream/6.0.24.34
Diffstat (limited to 'BPQTermMDI.c')
-rw-r--r--BPQTermMDI.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/BPQTermMDI.c b/BPQTermMDI.c
index d07eb39..447cde3 100644
--- a/BPQTermMDI.c
+++ b/BPQTermMDI.c
@@ -4817,6 +4817,7 @@ BOOL CreateMonitorWindow(char * MonSize)
Cinfo->hConsole = ChildWnd;
// return if its not possible to create the child window
+
if(NULL == ChildWnd)
{
return 0;
@@ -4839,8 +4840,8 @@ BOOL CreateMonitorWindow(char * MonSize)
Cinfo = &MonWindow;
-// MoveWindow(Cinfo->hConsole, Rect.left - (OffsetW /2), Rect.top - OffsetH,
-// Rect.right-Rect.left, Rect.bottom-Rect.top, TRUE);
+ MoveWindow(ChildWnd, Rect.left - (OffsetW /2), Rect.top - OffsetH, Rect.right - Rect.left, Rect.bottom - Rect.top, TRUE);
+
MoveWindows(Cinfo);