summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Medalha <medalist@sapo.pt>2021-01-03 05:27:52 +0000
committerMiguel Medalha <medalist@sapo.pt>2021-01-03 05:27:52 +0000
commita7d8a380315cef4b7b83973b73c383ab432cd4ba (patch)
tree8522402cffd64985907b3d240746550fbc73b473
parent5c9316d51f683eb0ce0bd1c4dbfee8acb76b914e (diff)
downloadlibtiff-git-a7d8a380315cef4b7b83973b73c383ab432cd4ba.tar.gz
Constant variable 'stuff' renamed to 'usage_info' for consistency with the other tools
-rw-r--r--tools/thumbnail.c6
1 files 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);
}