fix Runtime::locate() to calculate proper runtime directory

This commit is contained in:
josh committed 2014-06-22 21:24:46 -04:00
1 parent bdd28ab362
commit 076e2a51d7
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ namespace jes
PathRef Runtime::locate(int type, const std::string & name)
{
PathRef path = Core::instance.get_bin_path()->dirname()->join("runtime")->join(runtime_directories[type]);
PathRef path = Core::instance.get_bin_path()->dirname()->dirname()->join("runtime")->join(runtime_directories[type]);
PathRef rv = NULL;
switch (type)
{