From 4cb073a48b4fffb6d0f344a1789ac1a1fc0d3920 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 1 Jun 2016 15:42:00 +0100 Subject: [PATCH] POSIX main: get the newlines right --- src/platforms/posix/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/platforms/posix/main.cpp b/src/platforms/posix/main.cpp index 2f86a4e00e..7b1c4dec7f 100644 --- a/src/platforms/posix/main.cpp +++ b/src/platforms/posix/main.cpp @@ -146,10 +146,6 @@ static void usage() static void process_line(string &line, bool exit_on_fail) { - if (line.length() == 0) { - printf("\n"); - } - vector appargs(10); stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4] >> appargs[5] >> appargs[6] >> @@ -340,6 +336,7 @@ int main(int argc, char **argv) } process_line(mystr, false); + cout << endl; mystr = ""; buf_ptr_read = buf_ptr_write;