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
This commit is contained in:
Stephen Houston 2018-08-08 14:57:00 -04:00 committed by Mike Blumenkrantz
parent ad81ef1364
commit b4112b9735
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ _format_string_check(const char *fmt)
if (itr[1] == '%')
{
itr++;
ret_type = FORMAT_TYPE_STRING;
continue;
}