changeset 2144:0bb1d0ad178f

Fix bpp option description.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Jun 2019 21:08:23 +0300
parents 693c3e73eb34
children 0905b2a87cbd
files tools/gfxconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Sun Jun 02 21:08:06 2019 +0300
+++ b/tools/gfxconv.c	Sun Jun 02 21:08:23 2019 +0300
@@ -164,7 +164,7 @@
     {  9, 'S', "scale",         "Scale output image by specified value(s) (see below)", OPT_ARGREQ },
     { 12, 'P', "paletted",      "Use indexed/paletted output IF possible.", OPT_NONE },
     { 13, 'N', "nplanes",       "# of bitplanes (some output formats)", OPT_ARGREQ },
-    { 18, 'B', "bpp",           "Bits per pixel (some output formats)", OPT_ARGREQ },
+    { 18, 'B', "bpp",           "Bits per plane (some output formats)", OPT_ARGREQ },
     { 14, 'I', "interleave",    "Interleaved/planar output (some output formats)", OPT_NONE },
     { 20, 'C', "compress",      "Use compression -C <0-9>, 0 = disable, default is 9", OPT_ARGREQ },
     { 16, 'R', "remap",         "Remap output image colors (-R <(#RRGGBB|index):index>[,<..>][+remove] | -R @map.txt[+remove])", OPT_ARGREQ },
@@ -866,7 +866,7 @@
             if (!dmGetIntVal(optArg, &tmpUInt, NULL) ||
                 tmpUInt < 1 || tmpUInt > 32)
             {
-                dmErrorMsg("Invalid number of bits per pixel value '%s' [1 .. 32]\n",
+                dmErrorMsg("Invalid number of bits per plane value '%s' [1 .. 32]\n",
                     optArg);
                 return FALSE;
             }