From e5bff7bf9235330195b177f190f3c029ae7395d2 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 27 Jan 2009 19:58:30 +0000 Subject: typo svn-id: r36109 --- engines/agi/keyboard.cpp | 10 +++++----- 1 file 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); } -- cgit v1.2.3