Commit 5a9ba7cf authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Perform case insensitive comparison with cached ini file name.

parent a8f025fd
......@@ -774,7 +774,7 @@ static BOOL PROFILE_Open( LPCWSTR filename )
for(i=0;i<N_CACHED_PROFILES;i++)
{
if ((MRUProfile[i]->filename && !strcmpW( buffer, MRUProfile[i]->filename )))
if ((MRUProfile[i]->filename && !strcmpiW( buffer, MRUProfile[i]->filename )))
{
TRACE("MRU Filename: %s, new filename: %s\n", debugstr_w(MRUProfile[i]->filename), debugstr_w(buffer));
if(i)
......
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