mirror of https://github.com/AxioDL/metaforce.git
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:
parent
5acf9ecbcf
commit
af8731f2d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue