X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=utf8lib.h;h=f54547764981b299f3419b028540d16853461746;hb=57073ad18687c89fad109bb6293bdb75546d78bd;hp=41255a4e621dde26d7e11ccdf9328e92a4bfa7a8;hpb=e9ef9da90a206204b283dacd15c35bd3fd1fe5c9;p=xonotic%2Fdarkplaces.git diff --git a/utf8lib.h b/utf8lib.h index 41255a4e..f5454776 100644 --- a/utf8lib.h +++ b/utf8lib.h @@ -6,7 +6,6 @@ #include #include "qtypes.h" -#include "cvar.h" // types for unicode strings // let them be 32 bit for now @@ -21,7 +20,7 @@ typedef int32_t Uchar; // a non-utf8 version to work: u8_strlen() will wrap to strlen() // u8_byteofs() and u8_charidx() will simply return whatever is passed as index parameter // u8_getchar() will will just return the next byte, u8_fromchar will write one byte, ... -extern cvar_t utf8_enable; +extern struct cvar_s utf8_enable; void u8_Init(void); size_t u8_strlen(const char*);