Author: mir3x
Date: Mon Nov 16 20:00:24 2015
New Revision: 30637

URL: http://svn.gna.org/viewcvs/freeciv?rev=30637&view=rev
Log:
Replace typo in chat send(), which could send wrong message. 

See bug #24068


Modified:
    trunk/client/gui-qt/chatline.cpp

Modified: trunk/client/gui-qt/chatline.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/chatline.cpp?rev=30637&r1=30636&r2=30637&view=diff
==============================================================================
--- trunk/client/gui-qt/chatline.cpp    (original)
+++ trunk/client/gui-qt/chatline.cpp    Mon Nov 16 20:00:24 2015
@@ -185,7 +185,7 @@
   if (chat_line->text() != "") {
     if (client_state() >= C_S_RUNNING && gui_options.gui_qt_allied_chat_only
         && is_plain_public_message(chat_line->text())) {
-      send_chat(QString(". %s")
+      send_chat(QString(". %1")
                   .arg(chat_line->text().toUtf8().data()).toUtf8().data());
     } else {
       send_chat(chat_line->text().toUtf8().data());


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to