[ScryMUD] SVN Commit Info r941 - trunk/mud/grrmud/help_filter

scrymud at wanfear.com scrymud at wanfear.com
Sun Jun 10 14:48:06 PDT 2007


Author: eroper
Date: 2007-06-10 14:48:05 -0700 (Sun, 10 Jun 2007)
New Revision: 941

Modified:
   trunk/mud/grrmud/help_filter/idx_bldr.C
Log:
Fixed a bug where (depending on position in the list) many commands were not
showing up in topics_1 and IMM_wizhelp_1. Increased column width to 18 so as
to accommodate some of the longer command names.


Modified: trunk/mud/grrmud/help_filter/idx_bldr.C
===================================================================
--- trunk/mud/grrmud/help_filter/idx_bldr.C	2007-06-10 21:32:41 UTC (rev 940)
+++ trunk/mud/grrmud/help_filter/idx_bldr.C	2007-06-10 21:48:05 UTC (rev 941)
@@ -52,13 +52,15 @@
    String tmp(30);
 
    for (int i = 1; i<argc; i++) {
-      if (buf.Strlen() < 60) {
-         Sprintf(tmp, "%s%P16 ", normalize(argv[i]));
+      if (buf.Strlen() < 72) {
+         Sprintf(tmp, "%s%P18 ", normalize(argv[i]));
          buf += tmp;
       }
       else {
          cout << buf << endl;
          buf = "";
+         Sprintf(tmp, "%s%P18 ", normalize(argv[i]));
+			buf += tmp;
       }//else
    }//for
    cout << buf << endl;




More information about the ScryMUD mailing list