modesetting: add braces around an if

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-09-22 14:38:24 +03:00
committed by Enrico Weigelt
parent d5162b4493
commit 25cae34122

View File

@@ -1825,9 +1825,10 @@ drmmode_set_cursor(xf86CrtcPtr crtc, int width, int height)
drmmode_crtc->drmmode->sw_cursor = TRUE;
}
if (ret)
if (ret) {
/* fallback to swcursor */
return FALSE;
}
return TRUE;
}