aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/mads_views.cpp')
-rw-r--r--engines/m4/mads_views.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_views.cpp b/engines/m4/mads_views.cpp
index 0521903c95..d21bfc1cf2 100644
--- a/engines/m4/mads_views.cpp
+++ b/engines/m4/mads_views.cpp
@@ -228,7 +228,7 @@ void MadsAction::refresh() {
_statusTextIndex = -1;
}
- if (strlen(_statusText) != 0) {
+ if (_statusText[0] != '\0') {
if ((_owner._screenObjects._v832EC == 0) || (_owner._screenObjects._v832EC == 2)) {
Font *font = _madsVm->_font->getFont(FONT_MAIN_MADS);
int textSpacing = -1;