elc_popup: make sure code is C89 strict

This commit is contained in:
Boris Faure 2015-04-04 18:21:12 +02:00
parent 8a61be1d3b
commit c50ab5755c
1 changed files with 2 additions and 1 deletions

View File

@ -1042,6 +1042,7 @@ _action_button_set(Evas_Object *obj,
unsigned int idx)
{
char buf[128], style[1024];
unsigned int i;
ELM_POPUP_DATA_GET(obj, sd);
@ -1066,7 +1067,7 @@ _action_button_set(Evas_Object *obj,
evas_object_event_callback_add
(btn, EVAS_CALLBACK_DEL, _on_button_del, obj);
for (unsigned int i = ELM_POPUP_ACTION_BUTTON_MAX - 1; i >= idx; i--)
for (i = ELM_POPUP_ACTION_BUTTON_MAX - 1; i >= idx; i--)
{
if (sd->buttons[i])
{