Skip to content

Commit

Permalink
Merge pull request #3035 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
MishimaHaruna authored Sep 2, 2021
2 parents 341f0f0 + fb4cc8a commit 3cf0489
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/char/int_achievement.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static int inter_achievement_tosql(int char_id, struct char_achievements *cp, co
if (rows) {
ShowInfo("achievements saved for char %d (total: %d, saved: %d)\n", char_id, VECTOR_LENGTH(*p), rows);

/* Sync with inter-db acheivements. */
/* Sync with inter-db achievements. */
VECTOR_CLEAR(*cp);
VECTOR_ENSURE(*cp, VECTOR_LENGTH(*p), 1);
VECTOR_PUSHARRAY(*cp, VECTOR_DATA(*p), VECTOR_LENGTH(*p));
Expand Down
4 changes: 2 additions & 2 deletions src/common/showmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static int VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
p=q+1; //and start searching again
} else {
// from here, we will skip the '\033['
// we break at the first unprocessible position
// we break at the first unprocessable position
// assuming regular text is starting there
uint8 numbers[16], numpoint=0;
CONSOLE_SCREEN_BUFFER_INFO info;
Expand Down Expand Up @@ -516,7 +516,7 @@ static int VFPRINTF(FILE *file, const char *fmt, va_list argptr)
p=q+1; //and start searching again
} else {
// from here, we will skip the '\033['
// we break at the first unprocessible position
// we break at the first unprocessable position
// assuming regular text is starting there

// skip escape and bracket
Expand Down
2 changes: 1 addition & 1 deletion src/common/showmsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct config_setting_t;
#define CL_MAGENTA CL_BT_MAGENTA
#define CL_CYAN CL_BT_CYAN

#define CL_SPACE " " // space aquivalent of the print messages
#define CL_SPACE " " // space equivalent of the print messages

enum msg_type {
MSG_NONE,
Expand Down
2 changes: 1 addition & 1 deletion src/map/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ struct Battle_Config {
int merc_natural_heal_cap;
};

/* criteria for battle_config.idletime_critera */
/* criteria for battle_config.idletime_criteria */
enum e_battle_config_idletime {
BCIDLE_WALK = 0x001,
BCIDLE_USESKILLTOID = 0x002,
Expand Down
2 changes: 1 addition & 1 deletion src/map/script.c
Original file line number Diff line number Diff line change
Expand Up @@ -3664,7 +3664,7 @@ static bool script_is_permanent_variable(const char *name)
return false;

if (ISALNUM(name[0]) != 0)
return true; // Permanent characater variable.
return true; // Permanent character variable.

if (name[0] == '#')
return true; // Permanent (global) account variable.
Expand Down
2 changes: 1 addition & 1 deletion src/map/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -7690,7 +7690,7 @@ static int status_change_start_sub(struct block_list *src, struct block_list *bl
case SC_M_LIFEPOTION:
case SC_G_LIFEPOTION:
if (val1 == 0) return 0;
// val1 = heal percent/amout
// val1 = heal percent/amount
// val2 = seconds between heals
// val4 = total of heals
if (val2 < 1) val2 = 1;
Expand Down

0 comments on commit 3cf0489

Please sign in to comment.