cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1c0f72e4d315a8fa2391fd7d54f5e8310ee35680

commit 1c0f72e4d315a8fa2391fd7d54f5e8310ee35680
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Dec 17 10:10:56 2019 +0100

    efl_ui_layout: check theme version better
    
    when we are having the version 1.23.99 we are preparing the release that
    is going to be released with version 1.24. With this commit we can
    declare theme versions to be for 1.24 which the version number is 1.23.
    
    Reviewed-by: Cedric BAIL <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D10891
---
 src/lib/elementary/efl_ui_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 941b5f9512..a05a8ebb6a 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -619,7 +619,7 @@ _efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, 
Efl_Ui_Layout_Data *sd)
      }
    if (!version)
      {
-        snprintf(buf, sizeof(buf), "%d%d", EFL_VERSION_MAJOR, 
EFL_VERSION_MINOR);
+        snprintf(buf, sizeof(buf), "%d%d", EFL_VERSION_MAJOR, 
EFL_VERSION_MINOR + (EFL_VERSION_MICRO == 99 ? 1 : 0));
         errno = 0;
         version = strtoul(buf, NULL, 10);
         if (errno)

-- 


Reply via email to