aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorChris Apers2003-11-03 14:55:36 +0000
committerChris Apers2003-11-03 14:55:36 +0000
commite050421bc21c2940da67b6ccea253a8ffde365c7 (patch)
tree186de608232173b96feaad5fd5c75f1da64aedf0 /gui
parentf9b7856afbd6ebc96a878707a1de5fcfdd61f070 (diff)
downloadscummvm-rg350-e050421bc21c2940da67b6ccea253a8ffde365c7.tar.gz
scummvm-rg350-e050421bc21c2940da67b6ccea253a8ffde365c7.tar.bz2
scummvm-rg350-e050421bc21c2940da67b6ccea253a8ffde365c7.zip
Fixed compile error under codewarrior for PalmOS
svn-id: r11092
Diffstat (limited to 'gui')
-rw-r--r--gui/TabWidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/TabWidget.cpp b/gui/TabWidget.cpp
index ca18016d96..61560a9d47 100644
--- a/gui/TabWidget.cpp
+++ b/gui/TabWidget.cpp
@@ -48,7 +48,10 @@ int16 TabWidget::getChildY() const {
int TabWidget::addTab(const String &title) {
// Add a new tab page
- Tab newTab = { title, NULL };
+ Tab newTab;
+ newTab.title = title;
+ newTab.firstWidget = NULL;
+
_tabs.push_back(newTab);
int numTabs = _tabs.size();