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
1 changed files with 1 additions and 1 deletions

View File

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