From 6c586dc1bc6665eef5061a3459c12adc16d1b40a Mon Sep 17 00:00:00 2001 From: David Roberts Date: Mon, 30 Sep 2019 09:47:17 +0100 Subject: [PATCH] [ML] Fix relative location to load resources from Fixes a bug introduced in #593 --- lib/core/CResourceLocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/CResourceLocator.cc b/lib/core/CResourceLocator.cc index b33789e8ac..52d6a1a923 100644 --- a/lib/core/CResourceLocator.cc +++ b/lib/core/CResourceLocator.cc @@ -30,7 +30,7 @@ std::string CResourceLocator::resourceDir() { // Look relative to the program that's running, assuming that the resource // directory is located relative to the directory the current program is in. - std::string productionDir(CProgName::progDir() + RESOURCE_RELATIVE_DIR); + std::string productionDir(CProgName::progDir() + '/' + RESOURCE_RELATIVE_DIR); // If the production directory doesn't exist, return the dev directory if // that does, but if neither exist return the production directory so the