summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2Dialog.cpp')
-rw-r--r--src/T2DLL/T2Dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/T2DLL/T2Dialog.cpp b/src/T2DLL/T2Dialog.cpp
index d240f07..4823c7d 100644
--- a/src/T2DLL/T2Dialog.cpp
+++ b/src/T2DLL/T2Dialog.cpp
@@ -135,9 +135,9 @@ int T2Dialog::OnCreate(CREATESTRUCT* cs) {
if (mTowerDoc && !(GetWindowLong(m_hWnd, GWL_STYLE) & WS_CHILD)) {
if (mModal != 0)
- mTowerDoc->towerDoc_vf1A0(1);
+ mTowerDoc->towerDoc_vf1A0(true);
if (mModal == 1)
- mTowerDoc->towerDoc_vf290(1);
+ mTowerDoc->towerDoc_vf290(true);
}
if (mAutoShow && !(cs->style & WS_CHILD))
@@ -717,9 +717,9 @@ void T2Dialog::OnDestroy() {
if (mTowerDoc && !(GetWindowLong(m_hWnd, GWL_STYLE) & WS_CHILD)) {
if (mModal != 0)
- mTowerDoc->towerDoc_vf1A0(0);
+ mTowerDoc->towerDoc_vf1A0(false);
if (mModal == 1)
- mTowerDoc->towerDoc_vf290(0);
+ mTowerDoc->towerDoc_vf290(false);
}
}