diff options
-rw-r--r-- | vhook/imlib2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vhook/imlib2.c b/vhook/imlib2.c index 98ccaf8..3c54836 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -258,9 +258,9 @@ int Configure(void **ctxp, int argc, char *argv[]) f = fopen(rgbtxt, "r"); else { - f = fopen("/usr/share/X11/rgb.txt", "r"); - if (!f) - f = fopen("/usr/lib/X11/rgb.txt", "r"); + f = fopen("/usr/share/X11/rgb.txt", "r"); + if (!f) + f = fopen("/usr/lib/X11/rgb.txt", "r"); } if (!f) { fprintf(stderr, "Failed to find RGB color names file\n"); |