Added brackets where needed (#7781)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-09-23 14:28:06 +02:00 committed by GitHub
parent a00b16fd90
commit 63d04947e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,12 +40,14 @@ static void Task_DrawFieldMessage(u8 taskId)
task->tState++;
break;
case 1:
{
u32 nameboxWinId = GetNameboxWindowId();
DrawDialogueFrame(0, TRUE);
if (nameboxWinId != WINDOW_NONE)
DrawNamebox(nameboxWinId, NAME_BOX_BASE_TILE_NUM - NAME_BOX_BASE_TILES_TOTAL, TRUE);
task->tState++;
break;
}
case 2:
if (RunTextPrintersAndIsPrinter0Active() != TRUE)
{