add enter at file tail
authorPeng Wu <alexepico@gmail.com>
Tue, 10 May 2011 05:54:22 +0000 (13:54 +0800)
committerPeng Wu <alexepico@gmail.com>
Tue, 10 May 2011 05:54:22 +0000 (13:54 +0800)
utils/segment/ngseg.cpp
utils/segment/spseg.cpp

index c1a06a784ea50be49f9a4144868ac08a78d17f11..596920de2a6e9cf2efb9830570902ea35b488667 100644 (file)
@@ -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;
index 6a542887c621fa8a8b6c0ce8939a060120240486..65fe4717280f3c6435e599d434b1e440c1729ccf 100644 (file)
@@ -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;
 }