Fix jstrchk to be TODO

It's actually not implemented properly...
This commit is contained in:
Raul Tambre 2016-04-02 19:19:06 +03:00
parent a8e15ce18a
commit 1ff4f77eaf
2 changed files with 4 additions and 2 deletions

View File

@ -721,8 +721,9 @@ s32 UTF8toUTF32()
s32 jstrchk(vm::cptr<void> jstr) s32 jstrchk(vm::cptr<void> jstr)
{ {
cellL10n.warning("jstrchk(jstr=*0x%x) -> utf8", jstr); cellL10n.todo("jstrchk(jstr=*0x%x) -> utf8", jstr);
// TODO: Actually detect the type of the string
return L10N_STR_UTF8; return L10N_STR_UTF8;
} }

View File

@ -25,7 +25,8 @@ enum
}; };
// CodePages // CodePages
enum { enum
{
L10N_UTF8 = 0, L10N_UTF8 = 0,
L10N_UTF16, L10N_UTF16,
L10N_UTF32, L10N_UTF32,