Author: cazfi
Date: Wed Oct 28 18:52:10 2015
New Revision: 30287

URL: http://svn.gna.org/viewcvs/freeciv?rev=30287&view=rev
Log:
Show reports on client even if they have empty body.

See bug #23948

Modified:
    branches/S2_6/client/packhand.c

Modified: branches/S2_6/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/packhand.c?rev=30287&r1=30286&r2=30287&view=diff
==============================================================================
--- branches/S2_6/client/packhand.c     (original)
+++ branches/S2_6/client/packhand.c     Wed Oct 28 18:52:10 2015
@@ -1341,6 +1341,12 @@
     page_msg_report.parts = parts;
     page_msg_report.lines = fc_malloc(len + 1);
     page_msg_report.lines[0] = '\0';
+
+    if (parts == 0) {
+      /* Empty report - handle as if last part was just received. */
+      page_msg_report.parts = 1;
+      handle_page_msg_part("");
+    }
   }
 }
 


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

Reply via email to