Commit 7168070b authored by Bertho Stultiens's avatar Bertho Stultiens Committed by Alexandre Julliard

The load order parser should not always complain about extensions.

parent cd0ed1e6
......@@ -224,8 +224,12 @@ static BOOL AddLoadOrderSet(char *key, char *order, BOOL override)
cptr = get_tok(key, ", \t");
while(cptr)
{
if(strchr(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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment