From d7cee97915b9fb885f7ad4c9a7f30b0360a6e8ba Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Wed, 29 Mar 2017 20:47:31 +0200 Subject: [PATCH] And last fix for #2318 --- libse/Configuration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libse/Configuration.cs b/libse/Configuration.cs index 1b623c49a..706e1fe55 100644 --- a/libse/Configuration.cs +++ b/libse/Configuration.cs @@ -161,7 +161,7 @@ namespace Nikse.SubtitleEdit.Core if (Directory.Exists("/usr/share/tessdata")) return "/usr/share/tessdata"; } - return TesseractDirectory + "tessdata"; + return Path.Combine(TesseractDirectory, "tessdata"); } private static IEnumerable GetAvailableEncodings()