mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 05:45:00 +02:00
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;
|
return -1;
|
||||||
Buffer * buf = getBufferByID(id);
|
Buffer * buf = getBufferByID(id);
|
||||||
if (fn2copy)
|
if (fn2copy)
|
||||||
lstrcpy(fn2copy, buf->_fileName);
|
lstrcpy(fn2copy, buf->getFilePath());
|
||||||
return lstrlen(buf->_fileName);
|
return lstrlen(buf->getFilePath());
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user