diff options
author | Willem Jan Palenstijn | 2009-01-27 19:58:30 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-01-27 19:58:30 +0000 |
commit | e5bff7bf9235330195b177f190f3c029ae7395d2 (patch) | |
tree | e55ddf670f98da0ae7b10f6c7df71458fe6bbfc6 /engines | |
parent | 8aa122b157cd4b767499d834208116df9c0cbfec (diff) | |
download | scummvm-rg350-e5bff7bf9235330195b177f190f3c029ae7395d2.tar.gz scummvm-rg350-e5bff7bf9235330195b177f190f3c029ae7395d2.tar.bz2 scummvm-rg350-e5bff7bf9235330195b177f190f3c029ae7395d2.zip |
typo
svn-id: r36109
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/keyboard.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index c52767d0c2..a66ec12e3f 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -274,7 +274,7 @@ void AgiEngine::handleGetstring(int key) { void AgiEngine::handleKeys(int key) { uint8 *p = NULL; int c = 0; - static uint8 formatedEntry[256]; + static uint8 formattedEntry[256]; int l = _game.lineUserInput; int fg = _game.colorFg, bg = _game.colorBg; int promptLength = strlen(agiSprintf(_game.strings[0])); @@ -298,14 +298,14 @@ void AgiEngine::handleKeys(int key) { p++; continue; } - formatedEntry[c++] = tolower(*p); + formattedEntry[c++] = tolower(*p); } - formatedEntry[c++] = 0; + formattedEntry[c++] = 0; /* Handle string only if it's not empty */ - if (formatedEntry[0]) { + if (formattedEntry[0]) { strcpy((char *)_game.echoBuffer, (const char *)_game.inputBuffer); - strcpy(_lastSentence, (const char *)formatedEntry); + strcpy(_lastSentence, (const char *)formattedEntry); dictionaryWords(_lastSentence); } |