Author: cazfi
Date: Wed Oct 28 18:52:17 2015
New Revision: 30288

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

See bug #23948

Modified:
    branches/S2_5/client/packhand.c

Modified: branches/S2_5/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/packhand.c?rev=30288&r1=30287&r2=30288&view=diff
==============================================================================
--- branches/S2_5/client/packhand.c     (original)
+++ branches/S2_5/client/packhand.c     Wed Oct 28 18:52:17 2015
@@ -1298,6 +1298,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