• Widescreen patch #1

    From andrew clarke@3:633/267 to All on Mon Dec 31 06:24:24 2018
    Index: gemlst.cpp ===================================================================
    RCS file: /cvsroot/golded-plus/golded+/golded3/gemlst.cpp,v
    retrieving revision 1.67
    diff -u -r1.67 gemlst.cpp
    -+- gemlst.cpp 19 Oct 2011 23:31:31 -0000 1.67
    +++ gemlst.cpp 22 Nov 2014 16:50:45 -0000
    @@ -333,7 +333,7 @@
    mattr_ = hattr;
    }

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

    if(AA->Msglistwidesubj()) {
    resiz += tosiz + 1;

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  • From andrew clarke@3:633/267 to All on Mon Dec 31 06:26:22 2018
    -+- 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)
  • From andrew clarke@3:633/267 to All on Mon Dec 31 06:26:46 2018
    -+- geedit.cpp.orig 2018-07-15 06:09:04.741515000 +1000
    +++ geedit.cpp 2018-12-31 05:32:42.911996000 +1100
    @@ -659,7 +659,7 @@
    editwin.fill(__row, mincol, maxrow, maxcol, ' ', C_READW);
    #else
    if(__row <= maxrow) {
    - vchar vbuf[256];
    + vchar vbuf[2560];
    for(int c = 0; c < maxcol+1; c++)
    vbuf[c] = _box_table(W_BREAD, 1);
    vbuf[maxcol+1] = NUL;

    --- GoldED+/BSD 1.1.5-b20180707
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
  • From andrew clarke@3:633/267 to All on Mon Dec 31 06:27:18 2018
    -+- geedit.h.orig 2018-07-15 06:09:04.741890000 +1000
    +++ geedit.h 2018-12-31 05:35:19.863784000 +1100
    @@ -71,7 +71,7 @@
    // ------------------------------------------------------------------
    // Defines

    -#define EDIT_BUFLEN 256
    +#define EDIT_BUFLEN 2560
    #define EDIT_PARABUFLEN 2048

    #define EDIT_UNDO_CHAR 0x00000010U

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