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

Modified Files:
	pingstats.c 
Log Message:
Support for lag up to 10 sec.

Index: pingstats.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/pingstats.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pingstats.c	13 Feb 2007 02:17:11 -0000	1.3
+++ pingstats.c	13 Feb 2007 04:34:32 -0000	1.4
@@ -139,7 +139,8 @@
     char buf[6];
 
     if (value < 1000) sprintf (buf, "(%3d)", value);
-    else sprintf (buf, ">1sec");
+    else if (value < 10000) sprintf (buf, " %4d", value);
+    else sprintf (buf, "> 10s");
 
     W_WriteText (pStats, STAT_WIDTH - TEXT_WIDTH, y, textColor,
                  buf, 5, W_RegularFont);