msi: Fix infinite loop.

This commit is contained in:
Vincent Povirk 2014-03-31 16:40:01 -05:00 committed by Alexandre Julliard
parent 62f7ba2555
commit a4c6107d81
1 changed files with 1 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ static const MSICLASS *get_progid_class( const MSIPROGID *progid )
{
if (progid->Parent) progid = progid->Parent;
if (progid->Class) return progid->Class;
if (!progid->Parent) break;
if (!progid->Parent || progid->Parent == progid) break;
}
return NULL;
}