git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed console input mode restore
[enigma2.git]
/
lib
/
gdi
/
font.cpp
diff --git
a/lib/gdi/font.cpp
b/lib/gdi/font.cpp
index 187512d505ea45ddf0f746640147a4d33740dc49..9a7ec069737613492d6e9464958440bb87b309c9 100644
(file)
--- 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
{