This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository rage.
View the commit online.
commit e0525537dc7f98723b1965066c96d556433c71e4
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Mon Jun 8 23:00:35 2026 +0100
browser - handle another rows/cols 0 size case - fix
---
src/bin/browser.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/bin/browser.c b/src/bin/browser.c
index 9f00385..4daaeed 100644
--- a/src/bin/browser.c
+++ b/src/bin/browser.c
@@ -501,8 +501,11 @@ _entry_files_redo(Evas_Object *win, Entry *entry)
entry->cols = cols;
entry->rows = rows;
- entry->file_obj = calloc(entry->cols * entry->rows,
- sizeof(Evas_Object *));
+ if ((entry->cols * entry->rows) > 0)
+ {
+ entry->file_obj = calloc(entry->cols * entry->rows,
+ sizeof(Evas_Object *));
+ }
if ((entry->cols > 0) && (entry->rows > 0))
elm_table_pack(entry->table, entry->sizer, 0, 0,
entry->cols, entry->rows);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.