From: Ansgar Burchardt Date: Mon, 7 Jun 2010 12:55:35 +0900 Subject: [PATCH] Fix spelling error --- code/botlib/be_aas_main.c | 2 +- code/botlib/be_ai_chat.c | 2 +- code/botlib/l_precomp.c | 2 +- code/botlib/l_script.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/botlib/be_aas_main.c b/code/botlib/be_aas_main.c index 99a183a..0dab57c 100644 --- a/code/botlib/be_aas_main.c +++ b/code/botlib/be_aas_main.c @@ -216,7 +216,7 @@ void AAS_ContinueInit(float time) //save the AAS file if (AAS_WriteAASFile(aasworld.filename)) { - botimport.Print(PRT_MESSAGE, "%s written succesfully\n", aasworld.filename); + botimport.Print(PRT_MESSAGE, "%s written successfully\n", aasworld.filename); } //end if else { diff --git a/code/botlib/be_ai_chat.c b/code/botlib/be_ai_chat.c index 5092cec..12ca6c2 100644 --- a/code/botlib/be_ai_chat.c +++ b/code/botlib/be_ai_chat.c @@ -2198,7 +2198,7 @@ bot_chat_t *BotLoadInitialChat(char *chatfile, char *chatname) #ifdef DEBUG botimport.Print(PRT_MESSAGE, "initial chats loaded in %d msec\n", Sys_MilliSeconds() - starttime); #endif //DEBUG - //character was read succesfully + //character was read successfully return chat; } //end of the function BotLoadInitialChat //=========================================================================== diff --git a/code/botlib/l_precomp.c b/code/botlib/l_precomp.c index 1fe7c14..4257594 100644 --- a/code/botlib/l_precomp.c +++ b/code/botlib/l_precomp.c @@ -1362,7 +1362,7 @@ define_t *PC_DefineFromString(char *string) #endif //DEFINEHASHING // FreeScript(script); - //if the define was created succesfully + //if the define was created successfully if (res > 0) return def; //free the define is created if (src.defines) PC_FreeDefine(def); diff --git a/code/botlib/l_script.c b/code/botlib/l_script.c index 2fe628d..f961d56 100644 --- a/code/botlib/l_script.c +++ b/code/botlib/l_script.c @@ -421,7 +421,7 @@ int PS_ReadEscapeCharacter(script_t *script, char *ch) script->script_p++; //store the escape character *ch = c; - //succesfully read escape character + //successfully read escape character return 1; } //end of the function PS_ReadEscapeCharacter //============================================================================ @@ -431,7 +431,7 @@ int PS_ReadEscapeCharacter(script_t *script, char *ch) // // Parameter: script : script to read from // token : buffer to store the string -// Returns: qtrue when a string was read succesfully +// Returns: qtrue when a string was read successfully // Changes Globals: - //============================================================================ int PS_ReadString(script_t *script, token_t *token, int quote) @@ -912,7 +912,7 @@ int PS_ReadToken(script_t *script, token_t *token) } //end if //copy the token into the script structure Com_Memcpy(&script->token, token, sizeof(token_t)); - //succesfully read a token + //successfully read a token return 1; } //end of the function PS_ReadToken //============================================================================ --