From d3bb74d0299714ee4e410e52b7a14bd22d0b22c6 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Mon, 23 Aug 2010 17:55:09 +0000 Subject: 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 --- utils/Esetroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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) { -- cgit v1.2.1