diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2020-06-06 18:36:10 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2020-06-06 18:36:10 (GMT) |
commit | ce30db2662a3ff764f4e3ecacdf5b307441abf09 (patch) | |
tree | 1230115dd9a8d02d5df244b2231732667745f1b8 /generic | |
parent | 7b5473e2d5212bcdd88676417c66300f3308f18c (diff) | |
download | tk-ce30db2662a3ff764f4e3ecacdf5b307441abf09.zip tk-ce30db2662a3ff764f4e3ecacdf5b307441abf09.tar.gz tk-ce30db2662a3ff764f4e3ecacdf5b307441abf09.tar.bz2 |
TIP529 image metadata: changed order of arguments to alphabetical order
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkImgPhoto.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index c79f128..f31683d 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -55,12 +55,12 @@ struct SubcommandOptions { * OPT_FORMAT: Set if -format option allowed/specified. * OPT_FROM: Set if -from option allowed/specified. * OPT_GRAYSCALE: Set if -grayscale option allowed/specified. + * OPT_METADATA: Set if -metadata option allowed/specified. * OPT_SHRINK: Set if -shrink option allowed/specified. * OPT_SUBSAMPLE: Set if -subsample option allowed/spec'd. * OPT_TO: Set if -to option allowed/specified. * OPT_WITHALPHA: Set if -withalpha option allowed/specified. * OPT_ZOOM: Set if -zoom option allowed/specified. - * OPT_METADATA: Set if -metadata option allowed/specified. */ #define OPT_ALPHA 1 @@ -69,12 +69,12 @@ struct SubcommandOptions { #define OPT_FORMAT 8 #define OPT_FROM 0x10 #define OPT_GRAYSCALE 0x20 -#define OPT_SHRINK 0x40 -#define OPT_SUBSAMPLE 0x80 -#define OPT_TO 0x100 -#define OPT_WITHALPHA 0x200 -#define OPT_ZOOM 0x400 -#define OPT_METADATA 0x800 +#define OPT_METADATA 0x40 +#define OPT_SHRINK 0x80 +#define OPT_SUBSAMPLE 0x100 +#define OPT_TO 0x200 +#define OPT_WITHALPHA 0x400 +#define OPT_ZOOM 0x800 /* * List of option names. The order here must match the order of declarations @@ -88,12 +88,12 @@ static const char *const optionNames[] = { "-format", "-from", "-grayscale", + "-metadata", "-shrink", "-subsample", "-to", "-withalpha", "-zoom", - "-metadata", NULL }; |