summaryrefslogtreecommitdiffstats
path: root/source/cWindow.cpp
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 15:03:01 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 15:03:01 +0100
commit62737fd1632abd232e7e0ff00a19456bb28a4a37 (patch)
tree7bf91facfdbd586ff5c144eaf1ac6160b2965002 /source/cWindow.cpp
parentCode improvements (diff)
downloadcuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar.gz
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar.bz2
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar.lz
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar.xz
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.tar.zst
cuberite-62737fd1632abd232e7e0ff00a19456bb28a4a37.zip
Diffstat (limited to '')
-rw-r--r--source/cWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWindow.cpp b/source/cWindow.cpp
index 3555c9c96..68c8d4142 100644
--- a/source/cWindow.cpp
+++ b/source/cWindow.cpp
@@ -224,9 +224,9 @@ void cWindow::OwnerDestroyed()
m_Owner = 0;
while( m_OpenedBy.size() > 1 )
{
- (*m_OpenedBy.begin() )->CloseWindow();
+ (*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
- (*m_OpenedBy.begin() )->CloseWindow();
+ (*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
void cWindow::Destroy()