changeset 428:983c557f2fbf

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Nov 2012 11:10:59 +0200
parents 0820321203e5
children e2f8c9cbc17a
files gfxconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;