Merge pull request #1 from notkrd/patch-1

Update resourceDatabase.cpp
This commit is contained in:
Jason Rohrer 2018-05-15 08:21:26 -07:00 committed by GitHub
commit 022ff09edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -610,7 +610,7 @@ int getSearchResults( const char *inResourceType,
char *lowerSearchString = stringToLowerCase( inSearchString );
if( lowerSearchString == '\0' ) {
if( *lowerSearchString == '\0' ) {
// empty search, consider everything
numGotten = t->getMatches( lowerSearchString, inNumToSkip, inNumToGet,
(void **)values );