diff options
author | Zack Middleton <zturtleman@gmail.com> | 2014-12-01 21:53:06 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-03-17 11:39:02 +0000 |
commit | 01088875e4373d0f041cafb9e6a5ca80f9793efd (patch) | |
tree | 4afe1bdae1e39f3b0636f313e968e930d6365a79 /src/libspeex/vbr.c | |
parent | e9153002f1ed520b7e7c87d2f379dd466fe8a408 (diff) |
Fix negative glyph index in Team Arena text functions
Team Arena's text functions cast signed char values to int and use as an array index.
This works fine for values 0 to 127, but not for -128 to -1 which are a negative array index.
Instead use "character & 255" like client and original Q3 ui/cgame string drawing code.
Diffstat (limited to 'src/libspeex/vbr.c')
0 files changed, 0 insertions, 0 deletions