From b4112b9735ce75bce95974a257aa1880fa52a6bf Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Wed, 8 Aug 2018 14:57:00 -0400 Subject: [PATCH] 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; }