Fixed error in .menu file parsing on Unix

from Alexandre Blin
This commit is contained in:
Jonathan Gray 2013-04-28 17:05:20 +10:00
parent aca52cceb9
commit 64d851b2d4

View file

@ -6127,7 +6127,7 @@ qboolean ItemParse_cvarStrList( itemDef_t *item, int handle ) {
}
//a normal StringAlloc ptr
if ((int)psString > 0)
if (psString)
{
if (*psString == '}') {
return qtrue;
@ -6190,7 +6190,7 @@ qboolean ItemParse_cvarFloatList( itemDef_t *item, int handle )
}
//a normal StringAlloc ptr
if ((int)string > 0)
if (string)
{
if (*string == '}')
{