From 86ba940bc804ecae014fff37fcca03b6840ea6c8 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 3 Nov 2011 00:31:55 +0000 Subject: M4: Fix warnings --- engines/m4/mads_views.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/m4/mads_views.cpp') 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; -- cgit v1.2.3