change RenderString() default to UTF8

Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8
This commit is contained in:
vanhofen
2014-06-11 13:43:38 +02:00
parent 3bba3094e2
commit 98c0a441d8
41 changed files with 217 additions and 222 deletions

View File

@@ -616,7 +616,7 @@ int CLuaInstance::RenderString(lua_State *L)
if ((c & MAGIC_MASK) == MAGIC_COLOR)
c = CFrameBuffer::getInstance()->realcolor[c & 0x000000ff];
if (boxh > -1) /* if boxh < 0, don't paint string */
W->fbwin->RenderString(g_Font[f], x, y, w, text, c, boxh, true);
W->fbwin->RenderString(g_Font[f], x, y, w, text, c, boxh);
lua_pushinteger(L, rwidth); /* return renderwidth */
return 1;
}