# HG changeset patch # User Matti Hamalainen # Date 1351933859 -7200 # Node ID 983c557f2fbfccf5c61db603ffea53c653ceff4a # Parent 0820321203e5552805982122d4d59854cde76e34 Cosmetics. diff -r 0820321203e5 -r 983c557f2fbf gfxconv.c --- a/gfxconv.c Sat Nov 03 09:22:15 2012 +0200 +++ b/gfxconv.c Sat Nov 03 11:10:59 2012 +0200 @@ -167,7 +167,7 @@ { DMConvFormat *fmt = &convFormatList[i]; printf("%3d | %-5s | %s\n", - i, fmt->fext, fmt->name); + i, fmt->fext ? fmt->fext : "", fmt->name); } printf("\nAvailable bitmap formats:\n"); @@ -900,7 +900,7 @@ for (plane = 0; plane < pcx->header->nplanes; plane++) { Uint8 data = dmPCXGetByte(row, len, soffs++), - count = 1; + count = 1; pcx->bufOffs = 0;