aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorChris Apers2004-11-09 11:23:49 +0000
committerChris Apers2004-11-09 11:23:49 +0000
commit6854c86eb2ba636ed7aad9704222bef71a34d6fe (patch)
tree3873d5b342997c27d18bf450f05d1e90b32d7116 /backends/PalmOS
parentd890d56502437a168b7a2d693c27ddb9f6c00059 (diff)
downloadscummvm-rg350-6854c86eb2ba636ed7aad9704222bef71a34d6fe.tar.gz
scummvm-rg350-6854c86eb2ba636ed7aad9704222bef71a34d6fe.tar.bz2
scummvm-rg350-6854c86eb2ba636ed7aad9704222bef71a34d6fe.zip
Fixed potential crash
svn-id: r15758
Diffstat (limited to 'backends/PalmOS')
-rw-r--r--backends/PalmOS/Src/palm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp
index 5c3209a745..831aedcef8 100644
--- a/backends/PalmOS/Src/palm.cpp
+++ b/backends/PalmOS/Src/palm.cpp
@@ -113,6 +113,7 @@ void OSystem_PALMOS::setWindowCaption(const char *caption) {
Coord h = FntLineHeight() + 2;
Coord w, y;
+ WinSetActiveWindow(WinGetDisplayWindow());
WinSetBackColor(0);
WinSetTextColor(255);