diff --git a/engine/client/keys.c b/engine/client/keys.c index 52044c9b2..2c716a89d 100644 --- a/engine/client/keys.c +++ b/engine/client/keys.c @@ -1006,7 +1006,7 @@ char *Key_KeynumToString (int keynum) return kn->name; { - if (keynum < 10) //don't let it be a single characture + if (keynum < 10) //don't let it be a single character return va("0%i", keynum); return va("%i", keynum); } diff --git a/engine/client/menu.h b/engine/client/menu.h index 05fa4fd62..f290d0d80 100644 --- a/engine/client/menu.h +++ b/engine/client/menu.h @@ -42,7 +42,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //mt_childwindow - //mt_button - Executes a console command or callback on enter. Uses conchars. -//mt_buttonbigfont - Used by hexen2's menus. Uses gfx/menu/bigfont.lmp as it's charactures. +//mt_buttonbigfont - Used by hexen2's menus. Uses gfx/menu/bigfont.lmp as it's characters. //mt_box - A 2d box. The same one as the quit dialog from q1, but resized. //mt_colouredbox - Not used. //mt_line - Not used. diff --git a/engine/common/console.h b/engine/common/console.h index 088baf457..ce640e170 100644 --- a/engine/common/console.h +++ b/engine/common/console.h @@ -101,7 +101,7 @@ typedef struct console_s qboolean unseentext; int commandcompletion; //allows tab completion of quake console commands void (*linebuffered) (struct console_s *con, char *line); //if present, called on enter, causes the standard console input to appear. - void (*redirect) (struct console_s *con, int key); //if present, called every characture. + void (*redirect) (struct console_s *con, int key); //if present, called every character. void *userdata; struct console_s *next; } console_t; diff --git a/engine/common/fs.c b/engine/common/fs.c index 508931e2f..b8b2d6301 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -1851,13 +1851,13 @@ qboolean Sys_PathProtection(char *pattern) if (strchr(pattern, '\\')) { char *s; - Con_Printf("Warning: \\ charactures in filename %s\n", pattern); + Con_Printf("Warning: \\ characters in filename %s\n", pattern); while((s = strchr(pattern, '\\'))) *s = '/'; } if (strstr(pattern, "..")) - Con_Printf("Error: '..' charactures in filename %s\n", pattern); + Con_Printf("Error: '..' characters in filename %s\n", pattern); else if (pattern[0] == '/') Con_Printf("Error: absolute path in filename %s\n", pattern); else if (strstr(pattern, ":")) //win32 drive seperator (or mac path seperator, but / works there and they're used to it) diff --git a/engine/http/ftpserver.c b/engine/http/ftpserver.c index 82c1b6092..a917f4c68 100644 --- a/engine/http/ftpserver.c +++ b/engine/http/ftpserver.c @@ -532,7 +532,7 @@ iwboolean FTP_ServerThinkForConnection(FTPclient_t *cl) else strcpy(buffer, cl->path); - if (*buffer) //last characture should be a / + if (*buffer) //last character should be a / if (buffer[strlen(buffer)-1] != '/') strcat(buffer, "/"); diff --git a/engine/qclib/qcc_pr_lex.c b/engine/qclib/qcc_pr_lex.c index d3ab0c7f8..b1650a9e4 100644 --- a/engine/qclib/qcc_pr_lex.c +++ b/engine/qclib/qcc_pr_lex.c @@ -1358,7 +1358,7 @@ void QCC_PR_LexVector (void) pr_file_p++; if (*pr_file_p == '\\') - {//extended characture constant + {//extended character constant pr_token_type = tt_immediate; pr_immediate_type = type_float; pr_file_p++; @@ -1383,10 +1383,10 @@ void QCC_PR_LexVector (void) pr_immediate._float = '\\'; break; default: - QCC_PR_ParseError (ERR_INVALIDVECTORIMMEDIATE, "Bad characture constant"); + QCC_PR_ParseError (ERR_INVALIDVECTORIMMEDIATE, "Bad character constant"); } if (*pr_file_p != '\'') - QCC_PR_ParseError (ERR_INVALIDVECTORIMMEDIATE, "Bad characture constant"); + QCC_PR_ParseError (ERR_INVALIDVECTORIMMEDIATE, "Bad character constant"); pr_file_p++; return; } diff --git a/engine/server/pr_cmds.c b/engine/server/pr_cmds.c index 3104d9384..3225c5cef 100644 --- a/engine/server/pr_cmds.c +++ b/engine/server/pr_cmds.c @@ -5641,7 +5641,7 @@ void PF_strstrofs (progfuncs_t *prinst, struct globalvars_s *pr_globals) } //FTE_STRINGS -//returns characture at position X +//returns character at position X void PF_str2chr (progfuncs_t *prinst, struct globalvars_s *pr_globals) { char *instr = PR_GetStringOfs(prinst, OFS_PARM0); @@ -5657,7 +5657,7 @@ void PF_str2chr (progfuncs_t *prinst, struct globalvars_s *pr_globals) } //FTE_STRINGS -//returns a string containing one characture per parameter (up to the qc max params of 8). +//returns a string containing one character per parameter (up to the qc max params of 8). void PF_chr2str (progfuncs_t *prinst, struct globalvars_s *pr_globals) { int i; @@ -5797,7 +5797,7 @@ void PF_strconv (progfuncs_t *prinst, struct globalvars_s *pr_globals) } //FTE_STRINGS -//C style strncmp (compare first n charactures - case sensative. Note that there is no strcmp provided) +//C style strncmp (compare first n characters - case sensative. Note that there is no strcmp provided) void PF_strncmp (progfuncs_t *prinst, struct globalvars_s *pr_globals) { char *a = PR_GetStringOfs(prinst, OFS_PARM0); @@ -5818,7 +5818,7 @@ void PF_strcasecmp (progfuncs_t *prinst, struct globalvars_s *pr_globals) } //FTE_STRINGS -//C style strncasecmp (compare first n charactures - case insensative) +//C style strncasecmp (compare first n characters - case insensative) void PF_strncasecmp (progfuncs_t *prinst, struct globalvars_s *pr_globals) { char *a = PR_GetStringOfs(prinst, OFS_PARM0); diff --git a/engine/server/sv_chat.c b/engine/server/sv_chat.c index 116397b3a..96fdfc119 100644 --- a/engine/server/sv_chat.c +++ b/engine/server/sv_chat.c @@ -25,7 +25,7 @@ dialog/barry.dlg: #tag/number, condition (float(entity ent) cond;), text, options. #if options has a function, that is called. Multiple options/funcs can be done with commas. No options will terminate. If a reply has multiple options, a random (non function) is picked. - #no distinction between characture speech and player options. + #no distinction between character speech and player options. #char statements ignore condition. #the first entry point diff --git a/engine/sw/sw_draw.c b/engine/sw/sw_draw.c index e7642845b..8002f541d 100644 --- a/engine/sw/sw_draw.c +++ b/engine/sw/sw_draw.c @@ -461,7 +461,7 @@ void SWDraw_Init (void) } } if (!draw_chars) - Sys_Error("Failed to find suitable console charactures\n"); + Sys_Error("Failed to find suitable console characters\n"); // add ocrana leds if (con_ocranaleds.value)