else if (0x9b == src[s_pos+2]) /* ef bc 9b : ';' */
temp[pos++] = ';';
} else if (src[s_pos+1] == 0xbd) {
- if (0x81 <= src[s_pos+2] && src[s_pos+2] <= 0x9a) {
+ if (0x81 <= src[s_pos+2] && src[s_pos+2] <= 0x9a)
temp[pos++] = src[s_pos+2] - 0x40; /* ef bd 81 : 'a' ~ ef bd 9a : 'z' */
- }
}
} else if (char_len == 1) {
if (0x41 <= src[s_pos] && src[s_pos] <= 0x5a) /* 'A' ~ 'Z' */
if (range & CONTACTS_SEARCH_RANGE_NAME) {
int len_keyword = strlen(half_keyword);
- int len_chosung= 0;
+ int len_chosung = 0;
char *chosung = NULL;
char *korean_pattern = NULL;
char *search_chosung = NULL;
*/
chosung = calloc(len_keyword * 5, sizeof(char));
len_chosung = ctsvc_get_chosung(half_keyword, chosung, len_keyword * 5);
- mod_keyword = __ctsvc_db_make_search_keyword(0 < len_chosung? chosung : half_keyword);
+ mod_keyword = __ctsvc_db_make_search_keyword(0 < len_chosung ? chosung : half_keyword);
break;
case CTSVC_LANG_JAPANESE:
mod_keyword = search_hiragana;