- fixed console input mode restore
[enigma2.git] / lib / gdi / font.cpp
index 187512d505ea45ddf0f746640147a4d33740dc49..9a7ec069737613492d6e9464958440bb87b309c9 100644 (file)
@@ -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
                {