HUGO: Cleanup based on Fingolfin comments

svn-id: r55887
This commit is contained in:
Arnaud Boutonné 2011-02-12 08:13:35 +00:00
parent 191d216785
commit 69d907151b
20 changed files with 73 additions and 85 deletions

View file

@ -283,7 +283,7 @@ bool Parser::isWordPresent(char **wordArr) const {
/**
* Locate word in list of nouns and return ptr to first string in noun list
*/
char *Parser::findNoun() const {
const char *Parser::findNoun() const {
debugC(1, kDebugParser, "findNoun()");
for (int i = 0; _vm->_text->getNounArray(i); i++) {
@ -298,7 +298,7 @@ char *Parser::findNoun() const {
/**
* Locate word in list of verbs and return ptr to first string in verb list
*/
char *Parser::findVerb() const {
const char *Parser::findVerb() const {
debugC(1, kDebugParser, "findVerb()");
for (int i = 0; _vm->_text->getVerbArray(i); i++) {