aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2011-11-03 00:31:55 +0000
committerEugene Sandulenko2011-11-03 00:31:55 +0000
commit86ba940bc804ecae014fff37fcca03b6840ea6c8 (patch)
tree535dac9a519a9202ba6dbc8118830a463502af8a /engines/m4/mads_views.cpp
parentb3cad044500c816c6a7a84dd94a2beb15530cb9c (diff)
downloadscummvm-rg350-86ba940bc804ecae014fff37fcca03b6840ea6c8.tar.gz
scummvm-rg350-86ba940bc804ecae014fff37fcca03b6840ea6c8.tar.bz2
scummvm-rg350-86ba940bc804ecae014fff37fcca03b6840ea6c8.zip
M4: Fix warnings
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;