// TIZEN_ONLY(20210525)
// : fix not to display error log about the absense of compose file
if (!strncmp("en_US.UTF-8", locale, 11)) {
- log_err(ctx, "couldn't find a Compose file for locale \"%s\" (mapped to \"%s\")\n",
+ log_err(ctx, XKB_LOG_MESSAGE_NO_ID,
+ "couldn't find a Compose file for locale \"%s\" (mapped to \"%s\")\n",
locale, table->locale);
}
// END
if (leveli->num_syms > 1) {
leveli->u.syms = calloc(leveli->num_syms, sizeof(*leveli->u.syms));
if (!leveli->u.syms) {
- log_err(info->ctx, "Failed to allocate memory for leveli->u.syms\n");
+ log_err(info->ctx, XKB_ERROR_ALLOCATION_ERROR, "Failed to allocate memory for leveli->u.syms\n");
continue;
}
}
if (act) {
if (!HandleActionDef(info->ctx, info->actions, &info->mods, act, toAct))
log_err(info->ctx,
+ XKB_ERROR_INVALID_VALUE,
"Illegal action definition for %s; "
"Action for group %u/level %u ignored\n",
KeyInfoText(info, keyi), ndx + 1, i + 1);
key->groups = calloc(key->num_groups, sizeof(*key->groups));
if (!key->groups) {
- log_err(info->ctx, "Failed to allocate memory for key->groups\n");
+ log_err(info->ctx, XKB_ERROR_ALLOCATION_ERROR, "Failed to allocate memory for key->groups\n");
return false;
}