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
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))