mirror of
https://github.com/ioquake/jedi-outcast.git
synced 2025-02-21 11:21:00 +00:00
Fixed error in .menu file parsing on Unix
from Alexandre Blin
This commit is contained in:
parent
aca52cceb9
commit
64d851b2d4
1 changed files with 2 additions and 2 deletions
|
@ -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 == '}')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue