summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2010-08-23 17:55:09 +0000
committerMichael Jennings <mej@kainx.org>2010-08-23 17:55:09 +0000
commitd3bb74d0299714ee4e410e52b7a14bd22d0b22c6 (patch)
tree2b7b406f96f23bac93d2fcf1c4843ba86cfdd5d0 /utils
parent3f375e63e26172b3c81f019055c4dfe606f99e63 (diff)
downloadeterm-d3bb74d0299714ee4e410e52b7a14bd22d0b22c6.tar.gz
Revert coccinelle changes.
Using !! instead of != NULL results in significantly and unacceptably less readable code, and I refuse to accept those changes. Unfortunately, since they were all done at once, I have to revert the whole thing. Oh well. :( SVN revision: 51583
Diffstat (limited to 'utils')
-rw-r--r--utils/Esetroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Esetroot.c b/utils/Esetroot.c
index 137987e..dbe6b37 100644
--- a/utils/Esetroot.c
+++ b/utils/Esetroot.c
@@ -181,7 +181,7 @@ main(int argc, char *argv[])
imlib_context_set_display(Xdisplay);
imlib_context_set_visual(DefaultVisual(Xdisplay, DefaultScreen(Xdisplay)));
im = imlib_load_image_immediately(fname);
- if (!im) {
+ if (im == NULL) {
fprintf(stderr, "%s: Unable to load image file \"%s\".\n", *argv, fname);
exit(1);
} else if (debug) {