summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/text.h1
-rw-r--r--src/unk_text_util.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/text.h b/include/text.h
index 594661717..1da5141aa 100644
--- a/include/text.h
+++ b/include/text.h
@@ -65,6 +65,7 @@
#define CHAR_x 0xEC
#define CHAR_y 0xED
#define CHAR_z 0xEE
+#define CHAR_SPECIAL_F7 0xF7
#define CHAR_SPECIAL_F9 0xF9
#define CHAR_COLON 0xF0
#define CHAR_PROMPT_SCROLL 0xFA // waits for button press and scrolls dialog
diff --git a/src/unk_text_util.c b/src/unk_text_util.c
index 825b333bb..2773522b2 100644
--- a/src/unk_text_util.c
+++ b/src/unk_text_util.c
@@ -32,7 +32,7 @@ u8 *UnkTextUtil_StringExpandPlaceholders(u8 *dest, const u8 *src)
{
while (*src != EOS)
{
- if (*src != 0xF7)
+ if (*src != CHAR_SPECIAL_F7)
{
*dest++ = *src++;
}