This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment-module-forecasts.

View the commit online.

commit f2e0ac1356987e33b3b988d94756495c020af6b0
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Fri Jan 10 10:14:16 2025 +0000

    popup - dont use unknown update tme - fix crash
    
    @fix
---
 src/e_mod_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index b8ebdf0..c47b36e 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -967,7 +967,9 @@ _forecasts_popup_content_create(Instance *inst)
    evas_object_show(im);
    elm_table_pack(tb, im, 0, row, 2, 1);
 
-   _timestamp_local(inst->update_time, tmp, sizeof(tmp));
+   strcpy(tmp, D_("N/A"));
+   if (inst->update_time)
+     _timestamp_local(inst->update_time, tmp, sizeof(tmp));
    snprintf(buf, sizeof(buf), D_("<small>Updated: %s</>"), tmp);
    lb = _lb_add(base, buf);
    evas_object_size_hint_align_set(lb, 1.0, 0.0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to