changeset 910:43a71b097f17

10L.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 23 Feb 2015 22:54:25 +0200
parents be5d276f8a6c
children 602b4aa34293
files tools/gfxconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Mon Feb 23 22:51:51 2015 +0200
+++ b/tools/gfxconv.c	Mon Feb 23 22:54:25 2015 +0200
@@ -1325,6 +1325,7 @@
                     ret = DMERR_DATA_ERROR;
                     goto error;
                 }
+                break;
         }
 
         if (!dm_fwrite_str(outFile, buf, outBufSize))
@@ -1344,7 +1345,7 @@
     if (outFile != NULL)
         fclose(outFile);
     dmFree(buf);
-    return -1;
+    return ret;
 }