comparison tools/gfxconv.c @ 2030:2b961e6b35e5

Update documentation etc.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Nov 2018 11:45:13 +0200
parents 5ecd51009072
children aa8df4f1b785
comparison
equal deleted inserted replaced
2029:5ecd51009072 2030:2b961e6b35e5
689 689
690 case 6: 690 case 6:
691 { 691 {
692 int index, ncolors; 692 int index, ncolors;
693 if (!dmParseMapOptionString(optArg, optColorMap, 693 if (!dmParseMapOptionString(optArg, optColorMap,
694 &ncolors, C64_NCOLORS, FALSE, "color table option")) 694 &ncolors, C64_NCOLORS, FALSE, "color index option"))
695 return FALSE; 695 return FALSE;
696 696
697 dmMsg(1, "Set color mapping: "); 697 dmMsg(1, "Set color index mapping: ");
698 for (index = 0; index < ncolors; index++) 698 for (index = 0; index < ncolors; index++)
699 { 699 {
700 dmPrint(1, "[%d:%d]%s", 700 dmPrint(1, "[%d:%d]%s",
701 index, optColorMap[index], 701 index, optColorMap[index],
702 (index < ncolors) ? ", " : ""); 702 (index < ncolors) ? ", " : "");