diff options
author | Paul Gilbert | 2014-04-03 22:36:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-03 22:36:36 -0400 |
commit | 25b93a11ee28256331bb52ccdf5441e357c367c1 (patch) | |
tree | 81d894f8c3fe34b2a67c35aa4d17656e75842472 /engines/mads/nebular/dialogs_nebular.cpp | |
parent | d163ee088a9f3e49463fddd05a41d1b1530e77db (diff) | |
download | scummvm-rg350-25b93a11ee28256331bb52ccdf5441e357c367c1.tar.gz scummvm-rg350-25b93a11ee28256331bb52ccdf5441e357c367c1.tar.bz2 scummvm-rg350-25b93a11ee28256331bb52ccdf5441e357c367c1.zip |
MADS: Fix hotspot loading, and a couple of other warnings
Diffstat (limited to 'engines/mads/nebular/dialogs_nebular.cpp')
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp index fea5fa5b75..bfc225ee66 100644 --- a/engines/mads/nebular/dialogs_nebular.cpp +++ b/engines/mads/nebular/dialogs_nebular.cpp @@ -124,7 +124,7 @@ bool DialogsNebular::show(int msgId) { Common::String valStr; Common::String dialogText; bool result = true; - bool centerFlag; + bool centerFlag = false; bool underlineFlag; bool commandFlag; bool crFlag; @@ -268,7 +268,7 @@ bool DialogsNebular::textNoun(Common::String &dialogText, int nounNum, bool DialogsNebular::commandCheck(const char *idStr, Common::String &valStr, const Common::String &command) { - int idLen = strlen(idStr); + uint idLen = strlen(idStr); valStr = (command.size() <= idLen) ? "" : Common::String(command.c_str() + idLen); |