[KERNEL32]

* Avoid ini cache if file does not exist anymore. By Bruno Jesus.

svn path=/trunk/; revision=58980
This commit is contained in:
Amine Khaldi 2013-05-09 21:04:49 +00:00
parent 382d0c0257
commit bd9b579007

View file

@ -820,10 +820,10 @@ static BOOL PROFILE_Open( LPCWSTR filename, BOOL write_access )
CurProfile->LastWriteTime = LastWriteTime; CurProfile->LastWriteTime = LastWriteTime;
} }
CloseHandle(hFile); CloseHandle(hFile);
return TRUE;
} }
else TRACE("(%s): already opened, not yet created (mru=%d)\n", else TRACE("(%s): already opened, not yet created (mru=%d)\n",
debugstr_w(buffer), i); debugstr_w(buffer), i);
return TRUE;
} }
} }