mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Fix the missing final character in the server browser.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3338 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fb95c21dcd
commit
3fb15701b1
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ void Draw_FunStringLen(int x, int y, unsigned char *str, int numchars)
|
|||
{
|
||||
conchar_t buffer[2048];
|
||||
|
||||
//so parsefunstring can write out the null
|
||||
numchars++;
|
||||
|
||||
numchars *= sizeof(conchar_t); //numchars should now be the size of the chars.
|
||||
|
||||
if (numchars > sizeof(buffer))
|
||||
|
|
Loading…
Reference in a new issue