[Scummvm-cvs-logs] SF.net SVN: scummvm:[36109] scummvm/trunk/engines/agi/keyboard.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Tue Jan 27 20:58:30 CET 2009


Revision: 36109
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36109&view=rev
Author:   wjpalenstijn
Date:     2009-01-27 19:58:30 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
typo

Modified Paths:
--------------
    scummvm/trunk/engines/agi/keyboard.cpp

Modified: scummvm/trunk/engines/agi/keyboard.cpp
===================================================================
--- scummvm/trunk/engines/agi/keyboard.cpp	2009-01-27 18:43:00 UTC (rev 36108)
+++ scummvm/trunk/engines/agi/keyboard.cpp	2009-01-27 19:58:30 UTC (rev 36109)
@@ -274,7 +274,7 @@
 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 @@
 				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);
 		}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list