From cb0fb8c1a1ee4a022809c726fe1509d1d4c97aba Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 7 Jan 2026 14:06:48 -0500 Subject: [PATCH] haiku: Minor code convention cleanups. Reference PR #14779. --- src/video/haiku/SDL_bmodes.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/video/haiku/SDL_bmodes.cc b/src/video/haiku/SDL_bmodes.cc index 813432ebd2..8230e8845d 100644 --- a/src/video/haiku/SDL_bmodes.cc +++ b/src/video/haiku/SDL_bmodes.cc @@ -244,10 +244,8 @@ void HAIKU_GetDisplayModes(_THIS, SDL_VideoDisplay *display) { uint32 count, i; /* Get graphics-hardware supported modes */ - if (bscreen.GetModeList(&bmodes, &count) == B_OK) - { - if (bscreen.GetMode(&this_bmode) == B_OK) - { + if (bscreen.GetModeList(&bmodes, &count) == B_OK) { + if (bscreen.GetMode(&this_bmode) == B_OK) { for (i = 0; i < count; ++i) { // FIXME: Apparently there are errors with colorspace changes if (bmodes[i].space == this_bmode.space) {