]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/xorrectangle.cpp
Merge commit 'bf803dd851539f0d5f806f12a1e2ab93fdddae08' into garux-merge
[xonotic/netradiant.git] / libs / gtkutil / xorrectangle.cpp
index d9108b66880f3b838ee128ede8f6a7f8e33bb4a1..c638e0e21fcaa61ffd01d77da3f7ef32c5942d98 100644 (file)
@@ -4,7 +4,7 @@
 
 bool XORRectangle::initialised() const
 {
-    return cr != nullptr;
+    return !!cr;
 }
 
 void XORRectangle::lazy_init()