patch to kernel/mkunits.c
mniw
mniw@sol.dti.ne.jp
Mon May 20 10:37:00 GMT 2002
an unnecessary space is added to warning messages, in front of a unit type.
for example, "Warning: could not put 1 units in Norwegian country ( city)."
--- kernel/mkunits.c.orig Tue May 21 02:17:35 2002
+++ kernel/mkunits.c Tue May 21 02:18:52 2002
@@ -262,7 +262,7 @@
totleft += numleft[u];
if (numleft[u] > 0 && numlisted < 5) {
++numfails;
- strcat(tmpbuf2, " ");
+ strcat(tmpbuf2, (numfails == 1 ? "" : " "));
strcat(tmpbuf2, u_type_name(u));
}
}
--
MA Dunzi <mniw@sol.dti.ne.jp> http://tadalunch.s5.xrea.com/xconq/index.html
More information about the Xconq7
mailing list