summaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-04-12 10:12:37 -0400
committerGitHub <noreply@github.com>2020-04-12 10:12:37 -0400
commit6001e107993d1da69decdf479abf8a661ad57dda (patch)
tree9a430f0b70e0a24965378724f1bd28cd1a193dc1 /src/mail.c
parent2880cf2a51ea36fa36f00d9ecf07177e5955c882 (diff)
parent7a562d6bae78fd7c62ed2f804fd8dcc555d85d18 (diff)
Merge pull request #321 from PikalaxALT/modern_gcc
Get pokefirered_modern to build
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail.c b/src/mail.c
index 0e9a8db41..34242f1b6 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -677,8 +677,8 @@ static void AddMailMessagePrinters(void)
width = GetStringWidth(1, gText_From, 0);
AddTextPrinterParameterized3(1, 1, sMailViewResources->nameX, sMailViewResources->messageLayout->nameY, sTextColor, 0, gText_From);
AddTextPrinterParameterized3(1, 1, sMailViewResources->nameX + width, sMailViewResources->messageLayout->nameY, sTextColor, 0, sMailViewResources->authorNameBuffer);
- CopyWindowToVram(0, 3);
- CopyWindowToVram(1, 3);
+ CopyWindowToVram(0, COPYWIN_BOTH);
+ CopyWindowToVram(1, COPYWIN_BOTH);
}
static void VBlankCB_ShowMail(void)