From aee9198d0a266429436dfbde4660baeb47429c4b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 19 Oct 2012 13:44:33 +0800 Subject: fixes utils helper --- utils/segment/spseg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/segment/spseg.cpp') diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index 073a3d8..b7d6176 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -196,7 +196,7 @@ int main(int argc, char * argv[]){ for ( glong i = 0; i < strings->len; ++i ) { SegmentStep * step = &g_array_index(strings, SegmentStep, i); char * string = g_ucs4_to_utf8( step->m_phrase, step->m_phrase_len, NULL, NULL, NULL); - printf("%s\n", string); + printf("%d %s\n", step->m_handle, string); g_free(string); } -- cgit