efl ui fmt - make strbuf simpler and dont use printf to avoid warnings
if someone turns on a lot of warning flags this is a warning (fals as the string is checked already for having a static format - no fmt flags, thus printf is valid).
This commit is contained in:
parent
16fd04cc94
commit
be770d37fb
|
@ -130,7 +130,7 @@ _default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value)
|
||||||
}
|
}
|
||||||
else if (sd->format_type == FORMAT_TYPE_STATIC)
|
else if (sd->format_type == FORMAT_TYPE_STATIC)
|
||||||
{
|
{
|
||||||
eina_strbuf_append_printf(str, sd->template);
|
eina_strbuf_append(str, sd->template);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue