summaryrefslogtreecommitdiffstats
path: root/xlib/xutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/xutil.c')
-rw-r--r--xlib/xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xutil.c b/xlib/xutil.c
index 1e81549..d80b742 100644
--- a/xlib/xutil.c
+++ b/xlib/xutil.c
@@ -70,7 +70,7 @@ XGetVisualInfo(
info->visualid = info->visual->visualid;
info->screen = 0;
info->depth = info->visual->bits_per_rgb;
- info->class = info->visual->class;
+ info->c_class = info->visual->c_class;
info->colormap_size = info->visual->map_entries;
info->bits_per_rgb = info->visual->bits_per_rgb;
info->red_mask = info->visual->red_mask;
@@ -84,7 +84,7 @@ XGetVisualInfo(
|| ((vinfo_mask & VisualDepthMask)
&& (vinfo_template->depth != info->depth))
|| ((vinfo_mask & VisualClassMask)
- && (vinfo_template->class != info->class))
+ && (vinfo_template->c_class != info->c_class))
|| ((vinfo_mask & VisualColormapSizeMask)
&& (vinfo_template->colormap_size != info->colormap_size))
|| ((vinfo_mask & VisualBitsPerRGBMask)