From 8869e989e497c4bf779a24de1c9173072870c8a4 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 4 Feb 2011 17:18:40 +0000 Subject: [PATCH] typos, patch by Ansgar Burchardt --- 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 99a183a4..0dab57c8 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 5092cec6..12ca6c24 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 1fe7c146..4257594e 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 2fe628d3..f961d566 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 //============================================================================