diff options
Diffstat (limited to 'apps/x11_image.c')
-rw-r--r-- | apps/x11_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x11_image.c b/apps/x11_image.c index 9383c545..35b32c7e 100644 --- a/apps/x11_image.c +++ b/apps/x11_image.c @@ -285,7 +285,7 @@ create_pool(void) info.pool[i] = createximage(info.display, info.visual.visual, &info.shminfo[i], info.visual.depth, WIDTH, HEIGHT); - if (info.pool[i] == NULL) { + if (!info.pool[i]) { return 0; } } |