forked from enlightenment/efl
elementary: Fixes bad format strings in *printf() calls.
Patch by Igor Murzov <e-mail@date.by> SVN revision: 77395
This commit is contained in:
parent
d6b7a7bc35
commit
f79c9bb374
|
@ -129,7 +129,7 @@ test_flipselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even
|
|||
evas_object_size_hint_weight_set(fp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
for (i = 1990; i <= 2099; i++)
|
||||
{
|
||||
snprintf(buf, 8, "%d", i);
|
||||
snprintf(buf, 8, "%u", i);
|
||||
elm_flipselector_item_append(fp, buf, _sel_cb, NULL);
|
||||
}
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ _file_selector_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Eina_Boo
|
|||
static void
|
||||
_console_message_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *message, unsigned int line_number, const char *source_id)
|
||||
{
|
||||
printf("CONSOLE: %s:%d:%s\n", source_id, line_number, message);
|
||||
printf("CONSOLE: %s:%u:%s\n", source_id, line_number, message);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -447,9 +447,9 @@ _button_remove(Evas_Object *obj,
|
|||
{
|
||||
sd->buttons[i] = sd->buttons[i + 1];
|
||||
|
||||
snprintf(buf, sizeof(buf), "actionbtn%u", pos + 1);
|
||||
snprintf(buf, sizeof(buf), "actionbtn%d", pos + 1);
|
||||
elm_object_part_content_unset(sd->action_area, buf);
|
||||
snprintf(buf, sizeof(buf), "actionbtn%u", pos);
|
||||
snprintf(buf, sizeof(buf), "actionbtn%d", pos);
|
||||
elm_object_part_content_set
|
||||
(sd->action_area, buf, sd->buttons[i]->btn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue