Ticket #8535: residual-font.diff

File residual-font.diff, 448 bytes (added by SF/mannythegnome, 18 years ago)

proposed patch

  • font.cpp

     
    101101        // for the first time and he says "Buenos Días" the
    102102        // 'í' character will either show up as a different
    103103        // character or it crashes the game.
     104
     105        if (_charIndex[c2] == c2) {
     106                return c2;
     107        }
     108
    104109        for (uint i = 0; i < _numChars; ++i) {
    105110          if (_charIndex[i] == c2)
    106111                        return i;