* Some image scaling tweaks for different platforms.

This commit is contained in:
Justin Maggard
2009-03-20 19:33:34 +00:00
parent 06784a31ca
commit c4d180f80d
5 changed files with 145 additions and 13 deletions

View File

@ -31,7 +31,7 @@ NameValueParserGetData(void * d, const char * datas, int l)
if(l>511)
l = 511;
strncpy(nv->name, data->curelt, 512);
nv->name[511] = '\0';
nv->name[63] = '\0';
memcpy(nv->value, datas, l);
nv->value[l] = '\0';
LIST_INSERT_HEAD( &(data->head), nv, entries);