Author: cazfi
Date: Wed Oct 28 18:52:04 2015
New Revision: 30286

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

See bug #23948

Modified:
    trunk/client/packhand.c

Modified: trunk/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/packhand.c?rev=30286&r1=30285&r2=30286&view=diff
==============================================================================
--- trunk/client/packhand.c     (original)
+++ trunk/client/packhand.c     Wed Oct 28 18:52:04 2015
@@ -1376,6 +1376,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