]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/x11/window.cpp
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / x11 / window.cpp
index e33511e888b17f57a82646416239841f9a8bc26c..96d098551b561861254e65c2d1a59d6ba8ee0cdf 100644 (file)
@@ -148,7 +148,7 @@ void Window::show_cursor(bool s)
                        int screen = DefaultScreen(dpy);
 
                        Pixmap pm = XCreatePixmap(dpy, priv->window, 1, 1, 1);
-                       GC gc = XCreateGC(dpy, pm, 0, 0);
+                       GC gc = XCreateGC(dpy, pm, 0, nullptr);
                        XSetFunction(dpy, gc, GXclear);
                        XDrawPoint(dpy, pm, gc, 0, 0);
                        XFreeGC(dpy, gc);