From a7d8a380315cef4b7b83973b73c383ab432cd4ba Mon Sep 17 00:00:00 2001 From: Miguel Medalha Date: Sun, 3 Jan 2021 05:27:52 +0000 Subject: Constant variable 'stuff' renamed to 'usage_info' for consistency with the other tools --- tools/thumbnail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/thumbnail.c b/tools/thumbnail.c index 737780d8..94b78a81 100644 --- a/tools/thumbnail.c +++ b/tools/thumbnail.c @@ -657,7 +657,7 @@ generateThumbnail(TIFF* in, TIFF* out) TIFFWriteDirectory(out) != -1); } -const char* stuff[] = { +const char* usage_info[] = { "usage: thumbnail [options] input.tif output.tif", "where options are:", " -h # specify thumbnail image height (default is 274)", @@ -680,8 +680,8 @@ usage(int code) FILE * out = (code == EXIT_SUCCESS) ? stdout : stderr; fprintf(out, "%s\n\n", TIFFGetVersion()); - for (i = 0; stuff[i] != NULL; i++) - fprintf(out, "%s\n", stuff[i]); + for (i = 0; usage_info[i] != NULL; i++) + fprintf(out, "%s\n", usage_info[i]); exit(code); } -- cgit v1.2.1