aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2017-01-18 05:35:10 +0000
committerD G Turner2017-01-18 05:35:10 +0000
commit11846907a66d093a2f9ed036fecc445f7dae79e3 (patch)
tree78719fbd472383446ce24ce2d62cc8222cf2f718
parent2d1b0969d13e739ed6e61dc7b58eefcfbdf37558 (diff)
downloadscummvm-rg350-11846907a66d093a2f9ed036fecc445f7dae79e3.tar.gz
scummvm-rg350-11846907a66d093a2f9ed036fecc445f7dae79e3.tar.bz2
scummvm-rg350-11846907a66d093a2f9ed036fecc445f7dae79e3.zip
DIRECTOR: Fix Compiler Warning.
-rw-r--r--engines/director/frame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 265f3eff96..1dce3113da 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -921,6 +921,8 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
}
switch (textCast->textAlign) {
+ case kTextAlignLeft:
+ break;
case kTextAlignCenter:
textX = (width / 2) - (textSurface->w / 2) + (padding / 2) + borderSize;
break;