And last fix for #2318

This commit is contained in:
Nikolaj Olsson 2017-03-29 20:47:31 +02:00
parent 7750089412
commit d7cee97915

View File

@ -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<Encoding> GetAvailableEncodings()