summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r--xdpyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index b682058..c37d7e8 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -1049,7 +1049,7 @@ print_xrender_info(Display *dpy, char *extname)
XFreeExtensionList(extensions);
if (loop != num_extensions) {
printf (" Render formats :\n");
- for (count = 0; (pictform = XRenderFindFormat (dpy, 0, 0, count)); count++)
+ for (count = 0; (pictform = XRenderFindFormat (dpy, 0, NULL, count)); count++)
{
printf (" pict format:\n");
printf ("\tformat id: 0x%lx\n", pictform->id);