Skip to content

Commit

Permalink
Merge pull request JACoders#3 from alexandreblin/sdl_unix
Browse files Browse the repository at this point in the history
Fixed error in .menu file parsing on Unix
  • Loading branch information
Axel Isouard committed Apr 13, 2013
2 parents 82657c5 + 99fd794 commit dcd7898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codemp/ui/ui_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -8351,7 +8351,7 @@ qboolean ItemParse_cvarStrList( itemDef_t *item, int handle ) {
}

//a normal StringAlloc ptr
if ((int)psString > 0)
if (psString)
{
if (*psString == '}') {
return qtrue;
Expand Down Expand Up @@ -8414,7 +8414,7 @@ qboolean ItemParse_cvarFloatList( itemDef_t *item, int handle )
}

//a normal StringAlloc ptr
if ((int)string > 0)
if (string)
{
if (*string == '}')
{
Expand Down

0 comments on commit dcd7898

Please sign in to comment.