|
|
|
@ -95,7 +95,7 @@ BufferID DocTabView::findBufferByName(const TCHAR * fullfilename) //-1 if not fo
|
|
|
|
|
::SendMessage(_hSelf, TCM_GETITEM, i, reinterpret_cast<LPARAM>(&tie));
|
|
|
|
|
BufferID id = reinterpret_cast<BufferID>(tie.lParam);
|
|
|
|
|
Buffer * buf = MainFileManager.getBufferByID(id);
|
|
|
|
|
if (OrdinalIgnoreCaseCompareStrings(fullfilename, buf->getFullPathName()) == 0)
|
|
|
|
|
if (wcscmp(fullfilename, buf->getFullPathName()) == 0)
|
|
|
|
|
{
|
|
|
|
|
return id;
|
|
|
|
|
}
|
|
|
|
|