TIP: Click on subject to list as thread! ANSI
echo: golded
to: All
from: andrew clarke
date: 2018-12-31 06:26:00
subject: Widescreen patch #2

-+- gearea.cpp.orig     2018-07-15 06:09:04.737029000 +1000
+++ gearea.cpp  2018-12-31 05:32:01.592058000 +1100
@@ -438,8 +438,8 @@

 void GPickArealist::print_line(uint idx, uint pos, bool isbar) {

-  vchar vbuf[256];
-  char buf[256];
+  vchar vbuf[2560];
+  char buf[2560];

   if(AL[idx]->isseparator()) {
     Area* area = AL.AreaNoToPtr(idx);
@@ -527,7 +527,7 @@
   for(AL.item = AL.idx.begin(); AL.item != AL.idx.end(); AL.item++)
     nummarks += (*AL.item)->Mark.Count();

-  char buf[256];
+  char buf[2560];
   gsprintf(PRINTF_DECLARE_BUFFER(buf), LNG->DropMarksInfo, 
longdotstr(nummarks));

   w_info(buf);
@@ -555,7 +555,7 @@
   uint n;
   uint x;
   const char* adesc;
-  char buf[256], tmp[256];
+  char buf[2560], tmp[2560];

   int mode, changed, currno;

--- GoldED+/BSD 1.1.5-b20180707
                  
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)

SOURCE: echomail via QWK@dmine.net

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.