]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - utf8lib.h
reducing error output in font loading (use developer != 0 to re-enable)
[xonotic/darkplaces.git] / utf8lib.h
index 083e918c0723d1fa25d2f306f765e22917e40ede..f918ed792f01cddd15b6297e6aef6037c3e8b00d 100644 (file)
--- a/utf8lib.h
+++ b/utf8lib.h
@@ -10,7 +10,6 @@
 // let them be 32 bit for now
 // normally, whcar_t is 16 or 32 bit, 16 on linux I think, 32 on haiku and maybe windows
 #ifdef _MSC_VER
-#include <stdint.h>
 typedef __int32 U_int32;
 #else
 #include <stdint.h>
@@ -45,4 +44,6 @@ size_t u8_COM_StringLengthNoColors(const char *s, size_t size_s, qboolean *valid
 // returns a static buffer, use this for inlining
 char  *u8_encodech(Uchar ch, size_t*);
 
+size_t u8_strpad(char *out, size_t outsize, const char *in, qboolean leftalign, size_t minwidth, size_t maxwidth);
+
 #endif // UTF8LIB_H__