diff options
-rw-r--r-- | src/dirdef.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dirdef.cpp b/src/dirdef.cpp index 28c073e..10adcc9 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -836,6 +836,7 @@ static void computeCommonDirPrefix() else // dir is shorter than path -> take path of dir as new start { path=dir->name(); + l=path.length(); int i=path.findRev('/',l-2); if (i==-1) // no unique prefix -> stop { |