api2021 part I #4

Merged
tomasz.sowa merged 67 commits from api2021 into master 2021-05-27 10:37:36 +02:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 16f6bdb358 - Show all commits

View File

@ -1343,7 +1343,8 @@ bool Space::has_value(const char * val) const
if( table_item->type == type_string )
{
return table_item->value.value_string == val;
if( table_item->value.value_string == val )
return true;
}
}
}
@ -1372,7 +1373,8 @@ bool Space::has_value(const wchar_t * val) const
if( table_item->type == type_wstring )
{
return table_item->value.value_wstring == val;
if( table_item->value.value_wstring == val )
return true;
}
}
}