changeset 1890:ee95059b4c18

Oops, fix a blunder left in the refactored scale option parsing.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 25 Jun 2018 17:13:41 +0300
parents ac9784afae27
children 91b80990043c
files tools/gfxconv.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Mon Jun 25 17:10:24 2018 +0300
+++ b/tools/gfxconv.c	Mon Jun 25 17:13:41 2018 +0300
@@ -722,6 +722,11 @@
                         error = (sep != 0);
                     }
                     else
+                    if (sep == 0)
+                    {
+                        optSpec.scaleX = optSpec.scaleY = tmpUInt;
+                    }
+                    else
                         error = TRUE;
                 }
                 else