From 84cdbaa1f14b4f2ca73b370c6db6a4dc9571fd07 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 29 Oct 2017 15:34:55 +0000
Subject: [PATCH] Fixed for Linux: detection for batch > 1 and 0x0d at command line
---
src/utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/utils.c b/src/utils.c
index 05ad885..f340a7e 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -126,6 +126,7 @@
{
c = next+1;
}
+ if(!next) while ((next = strchr(c, '\\'))) { c = next + 1; }
c = copy_string(c);
next = strchr(c, '.');
if (next) *next = 0;
--
Gitblit v1.10.0