summaryrefslogtreecommitdiffstats
path: root/utils/segment
diff options
context:
space:
mode:
Diffstat (limited to 'utils/segment')
-rw-r--r--utils/segment/ngseg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index 748ca01..c909310 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -67,9 +67,9 @@ bool deal_with_segmentable(GArray * current_utf16){
printf("\n");
#endif
g_phrase_lookup->convert_to_utf8(results, "\n", result_string);
- if (result_string)
+ if (result_string) {
printf("%s\n", result_string);
- else {
+ } else {
char * tmp_string = g_utf16_to_utf8
( (utf16_t *) current_utf16->data, current_utf16->len,
NULL, NULL, NULL);