summaryrefslogtreecommitdiff
path: root/src/JSystem/J2DGraph/J2DPrint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSystem/J2DGraph/J2DPrint.cpp')
-rw-r--r--src/JSystem/J2DGraph/J2DPrint.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/JSystem/J2DGraph/J2DPrint.cpp b/src/JSystem/J2DGraph/J2DPrint.cpp
index 132f0c76..bfb5dc20 100644
--- a/src/JSystem/J2DGraph/J2DPrint.cpp
+++ b/src/JSystem/J2DGraph/J2DPrint.cpp
@@ -237,9 +237,7 @@ f32 J2DPrint::parse(const u8* param_1, int param_2, int param_3, u16* param_4, J
if (mFont->isFixed()) {
field_0x34 = mFont->getFixedWidth();
} else {
- JUTFont::TWidth uStack_ec;
- mFont->getWidthEntry(r27, &uStack_ec);
- field_0x34 = uStack_ec.field_0x1;
+ field_0x34 = (u32)mFont->getWidth(r27);
}
field_0x34 *= field_0x18 / mFont->getCellWidth();