From d1a5905c61c12c86e4bf9e2b1174d00d8a16fb6e Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 01 Oct 2017 15:21:27 +0000
Subject: [PATCH] Fixed of using backslash (\) in paths to cfg for training
---
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