error_ui: wrap text and change message box height to fit

Stops banned user message overflowing out of message box
This commit is contained in:
jacksonmj
2011-04-02 15:49:06 +01:00
committed by Simon
parent 45b1b2bc96
commit 90f8c4f483
3 changed files with 53 additions and 7 deletions

View File

@@ -99,6 +99,7 @@ void textnpos(char *s, int n, int w, int *cx, int *cy);
int textwidthx(char *s, int w);
int textposxy(char *s, int width, int w, int h);
int textwrapheight(char *s, int width);
#if defined(WIN32) && !defined(__GNUC__)
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);