diff options
Diffstat (limited to 'lib/gdi/font.cpp')
| -rw-r--r-- | lib/gdi/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gdi/font.cpp b/lib/gdi/font.cpp index 187512d5..9a7ec069 100644 --- a/lib/gdi/font.cpp +++ b/lib/gdi/font.cpp @@ -467,7 +467,7 @@ int eTextPara::renderString(const std::string &string, int rflags) while(p != string.end()) { - unsigned int unicode=*p++; + unsigned int unicode=(unsigned char)*p++; if (unicode & 0x80) // we have (hopefully) UTF8 here, and we assume that the encoding is VALID { |
