Update of /cvsroot/netrek/client/netrekxp/src
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10260
Modified Files:
newwin.c
Log Message:
fix bug in clear motd sequence
Index: newwin.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/newwin.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- newwin.c 9 Jun 2009 01:23:01 -0000 1.81
+++ newwin.c 9 Jun 2009 08:19:43 -0000 1.82
@@ -2304,7 +2304,7 @@
newMotdStuff = 1; /* set flag for event loop */
first = 1; /* check for bold again */
}
-
+
if (!statmode && !strcmp (line, STATUS_TOKEN))
statmode = 1;
if (!statmode)
@@ -2321,6 +2321,8 @@
if (strcmp (line, MOTDCLEARLINE) == 0)
{
ClearMotd ();
+ motddata = NULL;
+ temp = &motddata;
return;
}