*\r
* Author: H.G.Muller (August 2009)\r
*\r
+ * Copyright 2009, 2010 Free Software Foundation, Inc.\r
+ *\r
* ------------------------------------------------------------------------\r
*\r
* GNU XBoard is free software: you can redistribute it and/or modify\r
{\r
if(!chatHandle[partner]) return;\r
\r
+ int n = strlen(text);\r
+ text[n+1] = 0; text[n] = '\n'; text[n-1] = '\r'; // Needs CR to not lose line breaks on copy-paste\r
InsertIntoMemo(chatHandle[partner], text);\r
}\r