mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
WINTERMUTE: Do not us char literals to index an array
This silences a clang warning
This commit is contained in:
parent
055b86ea18
commit
2a10f6a97f
@ -478,7 +478,7 @@ bool BaseFontBitmap::loadBuffer(byte *buffer) {
|
||||
_widths[spaceChar] = spaceWidth;
|
||||
} else {
|
||||
if (_widths[spaceChar] == expandWidth || _widths[spaceChar] == 0) {
|
||||
_widths[spaceChar] = (_widths['m'] + _widths['i']) / 2;
|
||||
_widths[spaceChar] = (_widths[(uint)'m'] + _widths[(uint)'i']) / 2;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user