From 73d919fa0f798c14ca8e4097bb1d4fe06500ac18 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 28 Jan 2019 19:02:34 +0100 Subject: [PATCH] Define double single left right qutoation marks char --- include/text.h | 8 ++++---- src/contest.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/text.h b/include/text.h index aa499f558..96c5a4507 100644 --- a/include/text.h +++ b/include/text.h @@ -18,10 +18,10 @@ #define CHAR_PERIOD 0xAD #define CHAR_HYPHEN 0xAE #define CHAR_ELLIPSIS 0xB0 -#define CHAR_DOUBLE_QUOTATION_LEFT 0xB1 -#define CHAR_DOUBLE_QUOTATION_RIGHT 0xB2 -#define CHAR_SINGLE_QUOTATION_LEFT 0xB3 -#define CHAR_SINGLE_QUOTATION_RIGHT 0xB4 +#define CHAR_DBL_QUOT_LEFT 0xB1 +#define CHAR_DBL_QUOT_RIGHT 0xB2 +#define CHAR_SGL_QUOT_LEFT 0xB3 +#define CHAR_SGL_QUOT_RIGHT 0xB4 #define CHAR_MALE 0xB5 #define CHAR_FEMALE 0xB6 #define CHAR_CURRENCY 0xB7 diff --git a/src/contest.c b/src/contest.c index 5b7363ec0..b24036f39 100644 --- a/src/contest.c +++ b/src/contest.c @@ -5106,10 +5106,10 @@ static u8 sub_80DF940(u8 *nickname) || *nickname == CHAR_SLASH || *nickname == CHAR_HYPHEN || *nickname == CHAR_ELLIPSIS - || *nickname == CHAR_DOUBLE_QUOTATION_LEFT - || *nickname == CHAR_DOUBLE_QUOTATION_RIGHT - || *nickname == CHAR_SINGLE_QUOTATION_LEFT - || *nickname == CHAR_DOUBLE_QUOTATION_LEFT) // Most likely a typo, CHAR_SINGLE_QUOTATION_RIGHT should be here instead. + || *nickname == CHAR_DBL_QUOT_LEFT + || *nickname == CHAR_DBL_QUOT_RIGHT + || *nickname == CHAR_SGL_QUOT_LEFT + || *nickname == CHAR_DBL_QUOT_LEFT) // Most likely a typo, CHAR_SGL_QUOT_RIGHT should be here instead. { nickname++; }