Merge pull request #1175 from quietust/develop

listcolumn tweak for GCC
develop
Lethosor 2017-10-08 23:24:29 -04:00 committed by GitHub
commit 0ee421a9d4
1 changed files with 1 additions and 1 deletions

@ -70,7 +70,7 @@ public:
display_max_rows = gps->dimy - 4 - bottom_margin; display_max_rows = gps->dimy - 4 - bottom_margin;
} }
void add(ListEntry<T> &entry) void add(const ListEntry<T> &entry)
{ {
list.push_back(entry); list.push_back(entry);
if (entry.text.length() > max_item_width) if (entry.text.length() > max_item_width)