summaryrefslogtreecommitdiff
path: root/src/File.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/File.cc')
-rw-r--r--src/File.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/File.cc b/src/File.cc
index 3c0dc294..6e8ac635 100644
--- a/src/File.cc
+++ b/src/File.cc
@@ -122,10 +122,10 @@ bool File::mkdirs() {
++i;
continue;
}
- i = j;
if(j != eoi) {
- ++i;
+ ++j;
}
+ i = j;
std::string dir = std::string(name_.begin(), j);
if(File(dir).isDir()) {
continue;