mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user