Mercurial > hg > dmlib
changeset 1357:370c40e0847f
Remove useless -o option from fontconv.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 25 Aug 2017 00:16:52 +0300 |
parents | dcb5c16ecdb9 |
children | 569cf7419f03 |
files | tools/fontconv.c |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/fontconv.c Tue Aug 22 22:38:13 2017 +0300 +++ b/tools/fontconv.c Fri Aug 25 00:16:52 2017 +0300 @@ -25,10 +25,9 @@ { { 0, '?', "help", "Show this help", OPT_NONE }, { 1, 'v', "verbose", "Be more verbose", OPT_NONE }, - { 2, 'o', "output", "Set output filename", OPT_ARGREQ }, - { 3, 's', "size", "Set glyph dimensions (-s W:H) for image->font conversion", OPT_ARGREQ }, + { 2, 's', "size", "Set glyph dimensions (-s W:H) for image->font conversion", OPT_ARGREQ }, #ifdef DM_GFX_TTF_TEXT - { 4, 'c', "color", "TTF font rendering color (def: 0xFFFFFF)", OPT_ARGREQ }, + { 3, 'c', "color", "TTF font rendering color (def: 0xFFFFFF)", OPT_ARGREQ }, #endif }; @@ -58,10 +57,6 @@ break; case 2: - optOutFilename = optArg; - break; - - case 3: { int w, h; if (sscanf(optArg, "%d:%d", &w, &h) != 2) @@ -83,7 +78,7 @@ } break; - case 4: + case 3: { unsigned int colR, colG, colB, colA = 100; if (optArg[0] == '#' || optArg[0] == '$') optArg++;