haiku: Minor code convention cleanups.

Reference PR #14779.
This commit is contained in:
Ryan C. Gordon
2026-01-07 14:06:48 -05:00
parent 1dda484085
commit cb0fb8c1a1

View File

@@ -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) {