From f14f33a20af06bd18d35727860377cbd4846d0e3 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Tue, 15 Nov 2016 17:09:55 +0900 Subject: [PATCH] Add missing space before ( in if( Change-Id: Iead547a8533aabbe6bbc0713f732e8500ec36548 Signed-off-by: Hyunjee Kim --- src/utils_i18n_alpha_idx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils_i18n_alpha_idx.cpp b/src/utils_i18n_alpha_idx.cpp index d26dd7b..cf5088c 100644 --- a/src/utils_i18n_alpha_idx.cpp +++ b/src/utils_i18n_alpha_idx.cpp @@ -78,7 +78,7 @@ int i18n_alpha_idx_get_next_bucket(i18n_alpha_idx_h index, bool *available) UErrorCode status = U_ZERO_ERROR; - if(available != NULL) + if (available != NULL) *available = ((AlphabeticIndex *) index)->nextBucket(status); else ((AlphabeticIndex *) index)->nextBucket(status); @@ -92,7 +92,7 @@ int i18n_alpha_idx_get_next_record(i18n_alpha_idx_h index, bool *available) UErrorCode status = U_ZERO_ERROR; - if(available != NULL) + if (available != NULL) *available = ((AlphabeticIndex *) index)->nextRecord(status); else ((AlphabeticIndex *) index)->nextRecord(status); @@ -343,7 +343,7 @@ int i18n_alpha_idx_get_record_name(i18n_alpha_idx_h index, *record_name = strdup(_record_name_string.c_str()); retv_if(*record_name == NULL, I18N_ERROR_OUT_OF_MEMORY); - if(_record_name.isEmpty()) { + if (_record_name.isEmpty()) { free(*record_name); *record_name = NULL; return I18N_ERROR_INDEX_OUTOFBOUNDS; -- 2.34.1