mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-22 04:11:57 +00:00
Fixed error in .menu file parsing on Unix
This commit is contained in:
parent
2ee20c7123
commit
77295da1d9
1 changed files with 2 additions and 2 deletions
|
@ -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 == '}')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue