From febfaaaae6efc775cf2713a77bc2dfffe2fb028a Mon Sep 17 00:00:00 2001 From: Lincoln-LM <73306575+Lincoln-LM@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:48:18 -0600 Subject: [PATCH] merge width & height assignments --- arm9/overlays/24/src/ov24_02254CA0.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arm9/overlays/24/src/ov24_02254CA0.c b/arm9/overlays/24/src/ov24_02254CA0.c index 07bc531be..a5a66ec69 100644 --- a/arm9/overlays/24/src/ov24_02254CA0.c +++ b/arm9/overlays/24/src/ov24_02254CA0.c @@ -174,8 +174,7 @@ void ov24_02254F40(u32 arg0, void* arg1) { MemoPadDrawState* drawState = displayHandler->drawState; if (drawState->stylusType == STYLUS_TYPE_ERASE) { int width, height; - height = 8; - width = 8; + width = height = 8; int x = drawState->lastModifiedX * 2 - 4; int y = drawState->lastModifiedY * 2 - 4; if (x < 0) {