summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorStephen Houston <smhouston88@gmail.com>2018-08-08 14:57:00 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-08 14:57:32 -0400
commitb4112b9735ce75bce95974a257aa1880fa52a6bf (patch)
treedbb5dde11a49a941a89411fcf8eecc49961efb99 /src/lib/efl
parentad81ef1364e4035bda527c61c47c2cad193b8e78 (diff)
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
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.c1
1 files changed, 1 insertions, 0 deletions
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)
38 if (itr[1] == '%') 38 if (itr[1] == '%')
39 { 39 {
40 itr++; 40 itr++;
41 ret_type = FORMAT_TYPE_STRING;
41 continue; 42 continue;
42 } 43 }
43 44