Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19645/src

Modified Files:
	smessage.c 
Log Message:
Fixed bug where message HUD wasn't getting turned off properly on
a misdirected message.

Index: smessage.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/smessage.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- smessage.c	2 Apr 2007 21:12:42 -0000	1.7
+++ smessage.c	7 Apr 2007 11:58:40 -0000	1.8
@@ -157,6 +157,7 @@
         {
             /* print error message */
             messpend = 0;
+            showHUD = 0;
             message_off ();
             return;
         }
@@ -260,6 +261,7 @@
     case '\r':                 /* send message */
         buf[lcount - ADDRLEN] = '\0';
         messpend = 0;
+        showHUD = 0;
         for (i = 0; i < MAX_MLENGTH; i++)
         {
             outmessage[i] = '\0';
@@ -348,7 +350,6 @@
             warning ("Not legal recipient");
         }
         BlankChar (0, lcount + 1);
-        showHUD = 0;
         lcount = 0;
         break;