2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-07 14:05:52 +00:00

GuiSys/CInstruction: Correct erroneous assignment in TestLargestFont

Without this, x20_largestMonoW will never be any value other than zero,
which is indicative of a logic bug.
This commit is contained in:
Lioncash 2019-08-09 07:07:59 -04:00
parent 5acf9ecbcf
commit af8731f2d2

View File

@ -225,7 +225,7 @@ void CBlockInstruction::TestLargestFont(s32 monoW, s32 monoH, s32 baseline) {
x28_largestBaseline = baseline;
if (x20_largestMonoW < monoW)
monoW = x20_largestMonoW;
x20_largestMonoW = monoW;
if (x24_largestMonoH < monoH) {
x24_largestMonoH = monoH;