mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
modesetting: add braces around an if
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
d5162b4493
commit
25cae34122
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user