From 39e9373312c719a1e151db8d2e35c57b39917d18 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 20 Jul 2011 17:42:02 +0800 Subject: fixes a bug, gcc? --- utils/segment/ngseg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') 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); -- cgit