diff --git a/toonz/sources/toonzlib/thirdparty.cpp b/toonz/sources/toonzlib/thirdparty.cpp index 7959012d..aaefe2bb 100644 --- a/toonz/sources/toonzlib/thirdparty.cpp +++ b/toonz/sources/toonzlib/thirdparty.cpp @@ -6,6 +6,7 @@ // TnzCore includes #include "tsystem.h" #include "tmsgcore.h" +#include "tenv.h" // QT includes #include @@ -267,8 +268,8 @@ QString autodetectRhubarb() { #ifndef _WIN32 folderList.append("/usr/local/bin"); - folderList.append(return "/usr/bin"); - folderList.append(return "/bin"); + folderList.append("/usr/bin"); + folderList.append("/bin"); #endif #ifdef _WIN32