From 380407dd2691ca4c0f3772092f39a7b3b528d1e4 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Sun, 2 Aug 2026 21:04:29 -0400 Subject: msg work (#1143) * fopMsgM_msgDataProc_c::stringSet work * Fix JPN * More stringSet work * work * get rid of fake temps * stringSet 99.99% * fopMsgM_msgDataProc_c::stringLength 100% * d_msg work * fix pal * fix message_paper, d_meter version diff fixes --- src/JSystem/J2DGraph/J2DTextBox.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/JSystem/J2DGraph/J2DTextBox.cpp') diff --git a/src/JSystem/J2DGraph/J2DTextBox.cpp b/src/JSystem/J2DGraph/J2DTextBox.cpp index ea8db23f..cd17b990 100644 --- a/src/JSystem/J2DGraph/J2DTextBox.cpp +++ b/src/JSystem/J2DGraph/J2DTextBox.cpp @@ -190,9 +190,8 @@ void J2DTextBox::drawSelf(f32 x, f32 y, Mtx* pMtx) { MTXConcat(*pMtx, mDrawMtx, mtx); GXLoadPosMtxImm(mtx, 0); print.locate(x, y); - f32 w = mBounds.f.x - mBounds.i.x + 0.0001f; - f32 h = mBounds.f.y - mBounds.i.y; - print.printReturn(mStringPtr, w, h, (J2DTextBoxHBinding)mBindingH, (J2DTextBoxVBinding)mBindingV, field_0xd8, field_0xdc, mDrawAlpha); + print.printReturn(mStringPtr, mBounds.getWidth() + 0.0001f, mBounds.getHeight(), + (J2DTextBoxHBinding)mBindingH, (J2DTextBoxVBinding)mBindingV, field_0xd8, field_0xdc, mDrawAlpha); } /* 802D5DA4-802D5EB0 .text resize__10J2DTextBoxFff */ -- cgit v1.2.3