Commit 3e38431e authored by Alexandre Julliard's avatar Alexandre Julliard

Don't strip the library extension if it's not ".dll".

parent 4354cda7
......@@ -134,8 +134,7 @@ static LPSTR get_sobasename(LPCSTR path, LPSTR name)
strcpy(name, cptr);
cptr = strrchr(name, '.');
if(cptr)
*cptr = '\0'; /* Strip extension */
if(cptr && !strcasecmp(cptr,".dll")) *cptr = '\0'; /* Strip extension */
/* Convert to lower case.
* This must be done manually because it is not sure that
......
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