# HG changeset patch # User Matti Hamalainen # Date 1588096534 -10800 # Node ID 6a6ed3eeded59068947f6180a28384e1033ca83c # Parent 88c68a03c4934aad01afcff4daff1c49e5a719af Fix parsing of some arguments to -S option. diff -r 88c68a03c493 -r 6a6ed3eeded5 tools/gfxconv.c --- a/tools/gfxconv.c Tue Apr 28 20:55:10 2020 +0300 +++ b/tools/gfxconv.c Tue Apr 28 20:55:34 2020 +0300 @@ -920,7 +920,7 @@ optSpec.scaleY = tmpUInt2; if (sep == '*' && - dmParseIntValWithSep(&tmpOpt, &tmpUInt, &sep, 0)) + dmParseIntValWithSep(&tmpOpt, &tmpUInt, &sep, "")) { optSpec.scaleX *= tmpUInt; optSpec.scaleY *= tmpUInt; @@ -943,7 +943,7 @@ if (error) { dmErrorMsg( - "Invalid scale option value '%s', should be , : or :*.\n", + "Invalid scale option value '%s', should be [*] or or :[*].\n", optArg); return FALSE; }