summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-04-05 13:51:55 -0700
committerYamaArashi <shadow962@live.com>2017-04-05 13:51:55 -0700
commite0dd5ef9a7bebe68ed36ded1cd92aa04411643e3 (patch)
treed9697d72a2ddea6b240a9ad4793a87f8cf4cf046 /src
parentb95747dc69a1a52a37b2002e12c12c9a57e72962 (diff)
fix build errors
Diffstat (limited to 'src')
-rw-r--r--src/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index 835e0f389..6981b9370 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1771,8 +1771,8 @@ void ClearTextSpan(struct TextPrinter *textPrinter, u32 width)
{
window = &gWindows[textPrinter->subPrinter.windowId];
pixels_data.pixels = window->tileData;
- pixels_data.width = window->width << 3;
- pixels_data.height = window->height << 3;
+ pixels_data.width = window->window.width << 3;
+ pixels_data.height = window->window.height << 3;
gUnk = gUnknown_03002F90;
glyphHeight = &gUnk[0x81];