projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turned off some ancient personal variables.
[feisty_meow.git]
/
nucleus
/
library
/
filesystem
/
filename_list.cpp
diff --git
a/nucleus/library/filesystem/filename_list.cpp
b/nucleus/library/filesystem/filename_list.cpp
index 24d1522e6bf36b08c9ef8b659fa0144979167538..28ec738668ddde5bf799c06d28ef284033b30ff7 100644
(file)
--- a/
nucleus/library/filesystem/filename_list.cpp
+++ b/
nucleus/library/filesystem/filename_list.cpp
@@
-152,10
+152,9
@@
bool filename_list::member_with_state(const file_info &to_check, file_info::file
return false;
}
return false;
}
-astring filename_list::text_form() const
+astring filename_list::text_form(
int max_lines
) const
{
astring to_return;
{
astring to_return;
-//hmmm: a length limit might be nice?
for (int i = 0; i < elements(); i++) {
to_return += a_sprintf("%d. ", i + 1);
if (get(i))
for (int i = 0; i < elements(); i++) {
to_return += a_sprintf("%d. ", i + 1);
if (get(i))