Fixed missing newline in /connect usage message

Mon, 11 Jan 2016 02:59:18 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 11 Jan 2016 02:59:18 +0200
changeset 120
32ba3ae4daf1
parent 119
9eb47f1899be
child 121
9d640b94ef02

Fixed missing newline in /connect usage message

sources/interface.cpp file | annotate | diff | comparison | revisions
--- a/sources/interface.cpp	Mon Jan 11 00:56:44 2016 +0200
+++ b/sources/interface.cpp	Mon Jan 11 02:59:18 2016 +0200
@@ -1064,7 +1064,9 @@
 	if (command == "connect")
 	{
 		if (args.size() != 2)
-			print_error("Usage: /connect <address> <password>");
+		{
+			print_error("Usage: /connect <address> <password>\n");
+		}
 		else
 		{
 			IPAddress address;

mercurial