mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 03:33:20 +00:00
Fixed #2122 -header command did not support negative integers for displayrect
This commit is contained in:
@@ -4740,7 +4740,7 @@ public class CommandLineArgumentParser {
|
||||
Boolean gfx = null;
|
||||
Integer version = null;
|
||||
|
||||
Pattern displayRectPattern = Pattern.compile("\\[(?<x1>[0-9.]+)(?<x1px>px)?,(?<y1>[0-9.]+)(?<y1px>px)?,(?<x2>[0-9.]+)(?<x2px>px)?,(?<y2>[0-9.]+)(?<y2px>px)?\\]");
|
||||
Pattern displayRectPattern = Pattern.compile("\\[(?<x1>-?[0-9.]+)(?<x1px>px)?,(?<y1>-?[0-9.]+)(?<y1px>px)?,(?<x2>-?[0-9.]+)(?<x2px>px)?,(?<y2>-?[0-9.]+)(?<y2px>px)?\\]");
|
||||
|
||||
boolean printOnly = args.size() == 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user