style fix

This commit is contained in:
Nikita Zlobin 2020-05-20 21:19:04 +05:00
parent 10c82ed7fe
commit 2de1603cd2

View File

@ -651,13 +651,10 @@ struct window_x11 *x_win_create(void)
scr_n = DefaultScreen(xctx.dpy);
root = RootWindow(xctx.dpy, scr_n);
if (XMatchVisualInfo(xctx.dpy, scr_n, 32, TrueColor, &vi))
{
if (XMatchVisualInfo(xctx.dpy, scr_n, 32, TrueColor, &vi)) {
vis = vi.visual;
depth = vi.depth;
}
else
{
} else {
vis = DefaultVisual(xctx.dpy, scr_n);
depth = DefaultDepth(xctx.dpy, scr_n);
}