diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-09-21 20:13:22 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-09-21 20:13:22 -0400 |
| commit | 836ff6d5060416445c77ca67d421daad5e1c5432 (patch) | |
| tree | 2935368455ac0a46bcd14c1947592ba8cfa94352 /Source/Core/VideoBackends/OGL/RasterFont.cpp | |
| parent | 9e2b9e2471f12d23926caaffdf9871566de05d4c (diff) | |
Fix some warnings on Linux
Diffstat (limited to 'Source/Core/VideoBackends/OGL/RasterFont.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/RasterFont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/RasterFont.cpp b/Source/Core/VideoBackends/OGL/RasterFont.cpp index 34caa49ed8..2fb5d0e50a 100644 --- a/Source/Core/VideoBackends/OGL/RasterFont.cpp +++ b/Source/Core/VideoBackends/OGL/RasterFont.cpp @@ -215,7 +215,7 @@ void RasterFont::printMultilineText(const std::string& text, double start_x, dou continue; } - if ((u32) c < CHAR_OFFSET || (u32) c >= CHAR_COUNT + CHAR_OFFSET) + if (c < CHAR_OFFSET || c >= CHAR_COUNT + CHAR_OFFSET) continue; vertices[usage++] = x; |
