Skip to content
  • deuce's avatar
    9efc41a7
    Fix bug in initialization of alternate fonts. There are two special values · 9efc41a7
    deuce authored
    for the four current fonts... -99 (uninitialized), and -1 (loaded font).
    
    -99 was supposed to be automagically converted to CP437, but a bug in
    revision 1.40 (Feb 27, 2015) made this not happen.  As a result, the font
    was copied from an index of -99 in the font data array.  This was garbage
    on some platforms and appears to have caused crashes in others.
    9efc41a7
    Fix bug in initialization of alternate fonts. There are two special values
    deuce authored
    for the four current fonts... -99 (uninitialized), and -1 (loaded font).
    
    -99 was supposed to be automagically converted to CP437, but a bug in
    revision 1.40 (Feb 27, 2015) made this not happen.  As a result, the font
    was copied from an index of -99 in the font data array.  This was garbage
    on some platforms and appears to have caused crashes in others.
Loading