deep mods
[feisty_meow.git] / nucleus / library / filesystem / filename_list.cpp
index 24d1522e6bf36b08c9ef8b659fa0144979167538..2ebe6d045cc0eedaa3d3312a5165760d9e010555 100644 (file)
@@ -102,7 +102,7 @@ const file_info *filename_list::find(const filename &to_check) const
     if (to_check.raw() == get(i)->raw()) return get(i);
 #endif
   }
-  return NIL;
+  return NULL_POINTER;
 }
 
 int filename_list::locate(const filename &to_find) const
@@ -152,10 +152,9 @@ bool filename_list::member_with_state(const file_info &to_check, file_info::file
   return false;
 }
 
-astring filename_list::text_form() const
+astring filename_list::text_form(int max_lines) const
 {
   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))