discomfitor pushed a commit to branch master.

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

commit b4112b9735ce75bce95974a257aa1880fa52a6bf
Author: Stephen Houston <[email protected]>
Date:   Wed Aug 8 14:57:00 2018 -0400

    efl/ui_format: Use STRING type for format strings that contain %%
    
    Summary: This fixes progressbar format strings that contain the pattern %%, 
thus making it a string and not a format.
    
    Test Plan: elementary_test progressbar shows %% on the first vertical 
progressbar before this patch.  afterwords it shows % correctly.
    
    Reviewers: zmike
    
    Reviewed By: zmike
    
    Subscribers: cedric, #reviewers, #committers, zmike
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6790
---
 src/lib/efl/interfaces/efl_ui_format.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/efl/interfaces/efl_ui_format.c 
b/src/lib/efl/interfaces/efl_ui_format.c
index b4c24f2018..1064b078e3 100644
--- a/src/lib/efl/interfaces/efl_ui_format.c
+++ b/src/lib/efl/interfaces/efl_ui_format.c
@@ -38,6 +38,7 @@ _format_string_check(const char *fmt)
         if (itr[1] == '%')
           {
              itr++;
+             ret_type = FORMAT_TYPE_STRING;
              continue;
           }
 

-- 


Reply via email to