Lib: update m-lib to latest release. Update m-lib usage across project. (#818)

This commit is contained in:
あく
2021-11-15 20:09:40 +03:00
committed by GitHub
parent b2356c7318
commit 2e46ec36a7
25 changed files with 45 additions and 45 deletions

View File

@@ -104,7 +104,7 @@ void archive_file_array_swap(ArchiveBrowserView* browser, int8_t d) {
void archive_file_array_rm_all(ArchiveBrowserView* browser) {
with_view_model(
browser->view, (ArchiveBrowserViewModel * model) {
files_array_clean(model->files);
files_array_reset(model->files);
return false;
});
}

View File

@@ -53,7 +53,7 @@ bool archive_favorites_read(void* context) {
}
archive_add_item(browser, &file_info, string_get_cstr(buffer));
string_clean(buffer);
string_reset(buffer);
}
}
string_clear(buffer);