MantisBT - VCMI
View Issue Details
0001483VCMIOtherpublic2013-09-27 06:192022-04-11 17:49
peter_lemenkov 
Ivan 
lowminoralways
closedfixed 
 
0.94 
0001483: vcmiclient: missing newline in the last console message
If you start vcmiclient from the terminal, enjoy playing it for a while, and close it, you'll see that the last message should contain "\n".

Right now it looks like this:

=======================

Connection has been requested to be closed.
Sent closing signal to the server
Connection handler thread joined
Our socket has been closed.
Closed connection.
Ending current game!
Removed GUI.
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Warning: an orphaned child!
Deleted mapHandler and gameState.
Deleted playerInts.
Client stopped.
Killing console...
Killing console... done!
Server closed correctly
Ending...Auriga ~/.vcmi:

=======================

The last line should be:

Ending...
Auriga ~/.vcmi:

Please add \n to the last message - https://github.com/vcmi/vcmi/blob/master/client/CMT.cpp#L967 [^] :

-std::cout << "Ending...";
+std::cout << "Ending...\n";



No tags attached.
Issue History
2013-09-27 06:19peter_lemenkovNew Issue
2013-09-28 13:34IvanNote Added: 0004058
2013-09-28 13:34IvanStatusnew => resolved
2013-09-28 13:34IvanFixed in Version => 0.94
2013-09-28 13:34IvanResolutionopen => fixed
2013-09-28 13:34IvanAssigned To => Ivan
2022-04-11 17:49PovelitelStatusresolved => closed

Notes
(0004058)
Ivan   
2013-09-28 13:34   
Fixed.