summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rld-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rld-path.cpp b/rld-path.cpp
index 51288ce..8e24d3a 100644
--- a/rld-path.cpp
+++ b/rld-path.cpp
@@ -57,7 +57,7 @@ namespace rld
path_split (const std::string& path, paths& paths)
{
strings ps;
- rld::split (path, ps, RLD_PATHSTR_SEPARATOR);
+ rld::split (ps, path, RLD_PATHSTR_SEPARATOR);
if (ps.size ())
{
for (strings::iterator psi = ps.begin ();