Skip to content

Commit 21ccb1d

Browse files
committed
Fix module loading
1 parent c37c901 commit 21ccb1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ std::vector<std::string> default_search_paths()
128128
size_t secondtolastslash = exepath.rfind('/', lastslash - 1);
129129
if (lastslash != std::string::npos)
130130
{
131-
paths.push_back(exepath.substr(0, lastslash));
131+
paths.push_back(exepath.substr(0, lastslash+1));
132132
}
133133

134134
if (secondtolastslash != std::string::npos)

0 commit comments

Comments
 (0)