aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/UI/UIButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/UI/UIButton.cpp')
-rw-r--r--engines/wintermute/UI/UIButton.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/UI/UIButton.cpp b/engines/wintermute/UI/UIButton.cpp
index 93bef195ea..9ce8230104 100644
--- a/engines/wintermute/UI/UIButton.cpp
+++ b/engines/wintermute/UI/UIButton.cpp
@@ -501,6 +501,9 @@ HRESULT CUIButton::SaveAsText(CBDynBuffer *Buffer, int Indent) {
case TAL_CENTER:
Buffer->PutTextIndent(Indent + 2, "TEXT_ALIGN=\"%s\"\n", "center");
break;
+ default:
+ warning("CUIButton::SaveAsText - unhandled enum");
+ break;
}
Buffer->PutTextIndent(Indent + 2, "\n");