aboutsummaryrefslogtreecommitdiffstats
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
parentbuild: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites (diff)
downloadefl-b4112b9735ce75bce95974a257aa1880fa52a6bf.tar.gz
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
-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)
if (itr[1] == '%')
{
itr++;
+ ret_type = FORMAT_TYPE_STRING;
continue;
}