src/filemanager/find.c: ret rid of string duplication.
commit615eda6e9ea3c784e108ed760374ec3adcd31855
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 18 May 2024 16:36:20 +0000 (18 19:36 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 2 Jun 2024 09:49:12 +0000 (2 12:49 +0300)
tree5c8c087b60e26112f922d21c9b42589a74439f9e
parent5dd087421e70fd633bc9f5af780ff27b284746f3
src/filemanager/find.c: ret rid of string duplication.

  * (add_to_list_take): new function: listbox_add_item_take() wrapper.
  * (insert_file): use add_to_list_take().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/find.c