mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 14:59:50 +00:00
The load order parser should not always complain about extensions.
This commit is contained in:
parent
cd0ed1e6b9
commit
7168070b01
|
@ -224,8 +224,12 @@ static BOOL AddLoadOrderSet(char *key, char *order, BOOL override)
|
|||
cptr = get_tok(key, ", \t");
|
||||
while(cptr)
|
||||
{
|
||||
if(strchr(cptr, '.'))
|
||||
MSG("Warning: Loadorder override '%s' contains an extension and might not be found during lookup\n", cptr);
|
||||
char *ext = strrchr(cptr, '.');
|
||||
if(ext)
|
||||
{
|
||||
if(strlen(ext) == 4 && (!strcasecmp(ext, ".dll") || !strcasecmp(ext, ".exe")))
|
||||
MSG("Warning: Loadorder override '%s' contains an extension and might not be found during lookup\n", cptr);
|
||||
}
|
||||
|
||||
ldo.modulename = cptr;
|
||||
if(!AddLoadOrder(&ldo, override))
|
||||
|
|
Loading…
Reference in a new issue