BuildRequires: pkgconfig(callmgr_client)
BuildRequires: pkgconfig(msg-service)
BuildRequires: pkgconfig(efl-extension)
+BuildRequires: pkgconfig(capi-base-utils-i18n)
BuildRequires: cmake
BuildRequires: gettext-tools
BuildRequires: edje-tools
dbg("conversation - msg count [%d]", msg_conv_list.nCount);
- char msg_txt[MAX_MSG_TEXT_LEN + 1] = { 0 };
+ char msg_txt[MAX_MSG_TEXT_LEN + 1] = { '\0' };
int msg_txt_size;
int msg_direct;
int msg_time;
}
msg_release_list_struct(&msg_conv_list);
- if (!STRING_EMPTY(msg_txt)) {
+ if (msg_txt[0] != '\0') {
dbg("last incoming msg found - txt[%s], txt_size[%d], time[%d]", msg_txt, msg_txt_size, msg_time);
snprintf(msg_data->text, msg_txt_size, "%s", msg_txt);
msg_data->date = msg_time;
i18n_ustring_copy_ua_n(custom_skeleton, skeleton, skeletonLength);
__generate_best_pattern(pattern_generator, locale, custom_skeleton, formatted_string, time);
- CALLUI_RETURN_NULL_IF_FAIL(!STRING_EMPTY(formatted_string));
+ CALLUI_RETURN_NULL_IF_FAIL(formatted_string[0] != '\0');
return strdup(formatted_string);
}
callui_result_e res = _callui_common_get_reject_msg_count(&item_count);
CALLUI_RETURN_VALUE_IF_FAIL(res == CALLUI_RESULT_OK, -1);
- for (int i = 0; i < item_count; i++) {
+ int i = 0;
+ for (; i < item_count; i++) {
Evas_Object *item_ly = _callui_load_edj(box, CALLUI_CALL_EDJ_PATH, "reject_msg_item");
CALLUI_RETURN_VALUE_IF_FAIL(item_ly, CALLUI_RESULT_FAIL);