summaryrefslogtreecommitdiffstats
path: root/utils/segment
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-05-10 13:54:22 +0800
committerPeng Wu <alexepico@gmail.com>2011-05-10 13:54:22 +0800
commitc3ab43532529b45048a7a711e94d0a37f102d603 (patch)
tree88b29c33ae052432882c475fd6ecb78a0ec7a008 /utils/segment
parentf0f1771e3bbe95dffaa4d42596b7d4aace277d2c (diff)
downloadlibpinyin-c3ab43532529b45048a7a711e94d0a37f102d603.tar.gz
libpinyin-c3ab43532529b45048a7a711e94d0a37f102d603.tar.xz
libpinyin-c3ab43532529b45048a7a711e94d0a37f102d603.zip
add enter at file tail
Diffstat (limited to 'utils/segment')
-rw-r--r--utils/segment/ngseg.cpp2
-rw-r--r--utils/segment/spseg.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index c1a06a7..596920d 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -202,6 +202,8 @@ int main(int argc, char * argv[]){
printf("\n");
}
+ /* print enter at file tail */
+ printf("\n");
g_array_free(current_utf16, TRUE);
free(linebuf);
return 0;
diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp
index 6a54288..65fe471 100644
--- a/utils/segment/spseg.cpp
+++ b/utils/segment/spseg.cpp
@@ -206,5 +206,8 @@ int main(int argc, char * argv[]){
g_array_free(strings, TRUE);
g_free(sentence);
}
+
+ /* print enter at file tail */
+ printf("\n");
return 0;
}