Evas_Object* text = elm_label_add(ctxpopup);
if (keyEvent == MVK_space) {
- sprintf(buf, "<font_style=Regular font_size=%d align=left wrap=mixed color=#000000>%s</>", font_size,
+ snprintf(buf, sizeof(buf), "<font_style=Regular font_size=%d align=left wrap=mixed color=#000000>%s</>", font_size,
dgettext(PACKAGE, "IDS_IME_BODY_SWIPE_THE_SPACE_BAR_LEFT_OR_RIGHT_TO_CHANGE_BETWEEN_LANGUAGES"));
} else {
- sprintf(buf, "<font_style=Regular font_size=%d align=left wrap=mixed color=#000000>%s</>", font_size,
+ snprintf(buf, sizeof(buf), "<font_style=Regular font_size=%d align=left wrap=mixed color=#000000>%s</>", font_size,
dgettext(PACKAGE, "IDS_IME_BODY_TAP_AND_HOLD_THIS_KEY_TO_SEE_THE_SYMBOL_LIST_SELECT_ONE_TO_USE_IT_AS_A_SHORTCUT"));
}
elm_object_text_set(text, buf);