Fix for Qt GUI TAS editor to support max file path for fm3 files.
This commit is contained in:
parent
93c0e13572
commit
6d622cc787
|
@ -415,7 +415,7 @@ bool TASEDITOR_PROJECT::load(const char* fullName)
|
||||||
void TASEDITOR_PROJECT::renameProject(const char* newFullName, bool filenameIsCorrect)
|
void TASEDITOR_PROJECT::renameProject(const char* newFullName, bool filenameIsCorrect)
|
||||||
{
|
{
|
||||||
projectFile = newFullName;
|
projectFile = newFullName;
|
||||||
char drv[512], dir[512], name[512], ext[512]; // For getting the filename
|
char drv[512], dir[4096], name[512], ext[512]; // For getting the filename
|
||||||
splitpath(newFullName, drv, dir, name, ext);
|
splitpath(newFullName, drv, dir, name, ext);
|
||||||
projectName = name;
|
projectName = name;
|
||||||
std::string thisfm2name = name;
|
std::string thisfm2name = name;
|
||||||
|
|
Loading…
Reference in New Issue