We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c37c901 commit 21ccb1dCopy full SHA for 21ccb1d
1 file changed
src/main.cpp
@@ -128,7 +128,7 @@ std::vector<std::string> default_search_paths()
128
size_t secondtolastslash = exepath.rfind('/', lastslash - 1);
129
if (lastslash != std::string::npos)
130
{
131
- paths.push_back(exepath.substr(0, lastslash));
+ paths.push_back(exepath.substr(0, lastslash+1));
132
}
133
134
if (secondtolastslash != std::string::npos)
0 commit comments