Fix for Qt Ram Watch window save files to allow for max path.

This commit is contained in:
harry 2023-01-30 21:41:03 -05:00
parent 8ea0a3e7e3
commit 6a2e384469
1 changed files with 1 additions and 5 deletions

View File

@ -651,11 +651,7 @@ void RamWatchDialog_t::saveListCB(void)
if ( saveFileName.size() > 0 ) if ( saveFileName.size() > 0 )
{ {
char file[512]; saveWatchFile( saveFileName.c_str() );
strcpy( file, saveFileName.c_str() );
saveWatchFile( file );
} }
else else
{ {