Fixed error in .menu file parsing on Unix

This commit is contained in:
Alexandre Blin 2013-04-13 21:54:09 +02:00 committed by Jonathan Gray
parent 2ee20c7123
commit 77295da1d9

View file

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