Fix NPPM_GETBUFFERFILENAME bug
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@336 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
2fd07e9a2d
commit
22f25219e2
|
@ -649,6 +649,6 @@ int FileManager::getFileNameFromBuffer(BufferID id, TCHAR * fn2copy) {
|
|||
return -1;
|
||||
Buffer * buf = getBufferByID(id);
|
||||
if (fn2copy)
|
||||
lstrcpy(fn2copy, buf->_fileName);
|
||||
return lstrlen(buf->_fileName);
|
||||
lstrcpy(fn2copy, buf->getFilePath());
|
||||
return lstrlen(buf->getFilePath());
|
||||
}
|
Loading…
Reference in New Issue