Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs16:/tmp/cvs-serv21536/src

Modified Files:
	mswindow.c 
Log Message:
Added new entry to main windows proc, WM_SYSCOMMAND, that is merely used
to track whether the main netrek window is maximized or not, so that this information
can be saved between sessions.
The bomb RCD used on an unknown planet or planet with 4 or less armies will now
say "bomb <planetname>" instead of the more useless, unspecific "bomb".

Index: mswindow.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/mswindow.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- mswindow.c	19 Apr 2007 08:18:15 -0000	1.77
+++ mswindow.c	22 Apr 2007 07:24:30 -0000	1.78
@@ -1880,6 +1880,19 @@
         }
         break;
 
+    case WM_SYSCOMMAND:
+        // Just tracking main window maximum/restore status here
+        GET_STRUCT_PTR;
+
+        if (win->hwnd == ((Window *) baseWin)->hwnd)
+        {
+            if (wParam == SC_MAXIMIZE)
+                mainMaximized = 1;
+            else if (wParam = SC_RESTORE)
+                mainMaximized = 0;
+        }
+        break;
+
     case WM_ENTERSIZEMOVE:
         //Disable possibility to move internal windows
         {   // have to add bracket to be able to declare variables