aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 40a8497..2e5e69d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
// read in all XML file names in the folder
std::list<std::string> xmlFiles;
- if (getdir(std::string("./" + xmlFolder).c_str(), xmlFiles))
+ if (getdir(std::string("./" + xmlFolder), xmlFiles))
UserError("Error reading XML files!!!");
// kill the world if needed