Fix for Qt GUI TAS editor to support max file path for fm3 files.

This commit is contained in:
harry 2023-01-22 09:55:20 -05:00
parent 93c0e13572
commit 6d622cc787
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ bool TASEDITOR_PROJECT::load(const char* fullName)
void TASEDITOR_PROJECT::renameProject(const char* newFullName, bool filenameIsCorrect)
{
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);
projectName = name;
std::string thisfm2name = name;