Don't hang on the last child if it's not wanted.

This commit is contained in:
Lawson A. Whitney 1999-02-19 14:12:16 +00:00 committed by Alexandre Julliard
parent 9ba500cac2
commit 17d0d4e827
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ VS_VERSION_INFO_STRUCT16 *VersionInfo16_FindChild( VS_VERSION_INFO_STRUCT16 *inf
if ( !lstrncmpi32A( child->szKey, szKey, cbKey ) )
return child;
if (!(child->wLength)) return NULL;
child = VersionInfo16_Next( child );
}