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:
parent
ad81ef1364
commit
b4112b9735
|
@ -38,6 +38,7 @@ _format_string_check(const char *fmt)
|
||||||
if (itr[1] == '%')
|
if (itr[1] == '%')
|
||||||
{
|
{
|
||||||
itr++;
|
itr++;
|
||||||
|
ret_type = FORMAT_TYPE_STRING;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue