tools: bmp2tiles clearer error message master
authorRobin Krens <robin@robinkrens.nl>
Wed, 15 Jun 2022 14:58:35 +0000 (16:58 +0200)
committerRobin Krens <robin@robinkrens.nl>
Wed, 15 Jun 2022 14:58:35 +0000 (16:58 +0200)
tools/bmp2tiles/bmp2tiles.c

index 61ce69c..b919fe9 100644 (file)
@@ -201,7 +201,7 @@ int main(int argc, char *argv[])
        ret += create_dir("pal/");
 
        if (ret) {
        ret += create_dir("pal/");
 
        if (ret) {
-               fprintf(stderr, "error: can not create output location\n");
+               fprintf(stderr, "error: can not create output gfx/ or pal/ location\n");
                goto cleanup;
        }
 
                goto cleanup;
        }