Switch to side-by-side view
--- a/src/contentdirectory.cxx +++ b/src/contentdirectory.cxx @@ -180,6 +180,9 @@ makerootdir(); } out.clear(); + if (cnt <= 0) + cnt = rootdir.size(); + if (offs < 0 || cnt <= 0) { return rootdir.size(); }
--- a/src/contentdirectory.cxx +++ b/src/contentdirectory.cxx @@ -180,6 +180,9 @@ makerootdir(); } out.clear(); + if (cnt <= 0) + cnt = rootdir.size(); + if (offs < 0 || cnt <= 0) { return rootdir.size(); }