mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Don't hang on the last child if it's not wanted.
This commit is contained in:
parent
9ba500cac2
commit
17d0d4e827
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user