diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-05-01 00:32:48 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-05-03 14:22:23 +0900 |
commit | be770d37fb05b8486907796dd16f4635bceb4ce1 (patch) | |
tree | 2292ca106a2717a2ea973ac7bfdd6aa354af06ec | |
parent | 16fd04cc94435d3f6fe207d2b9fc186223fe2521 (diff) |
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).
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl/interfaces/efl_ui_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c index c7b8c59aa9..b4c24f2018 100644 --- a/src/lib/efl/interfaces/efl_ui_format.c +++ b/src/lib/efl/interfaces/efl_ui_format.c | |||
@@ -130,7 +130,7 @@ _default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value) | |||
130 | } | 130 | } |
131 | else if (sd->format_type == FORMAT_TYPE_STATIC) | 131 | else if (sd->format_type == FORMAT_TYPE_STATIC) |
132 | { | 132 | { |
133 | eina_strbuf_append_printf(str, sd->template); | 133 | eina_strbuf_append(str, sd->template); |
134 | } | 134 | } |
135 | else | 135 | else |
136 | { | 136 | { |