mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[x11] Add some braces around an if block
This commit is contained in:
parent
fe2dd013be
commit
95becc5c05
1 changed files with 2 additions and 1 deletions
|
@ -507,8 +507,9 @@ X11_CreateWindow (int width, int height)
|
|||
attr.background_pixel = 0;
|
||||
attr.border_pixel = 0;
|
||||
attr.colormap = x_cmap;
|
||||
if (!attr.colormap)
|
||||
if (!attr.colormap) {
|
||||
attr.colormap = XCreateColormap (x_disp, x_root, x_vis, AllocNone);
|
||||
}
|
||||
attr.event_mask = X11_MASK;
|
||||
mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask;
|
||||
|
||||
|
|
Loading…
Reference in a new issue