Debugger: fix crash in ParseSymbolTable() due to PR #687

This commit is contained in:
tomcw 2019-09-17 19:17:30 +01:00
parent 3264fd3ee9
commit e4f0a8b8d9

View File

@ -665,7 +665,7 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym
// TODO: Must check for buffer overflow !
ConsolePrintFormat( sText, "%s%s"
, CHC_PATH
, pPathFileName
, pPathFileName.c_str()
);
}
@ -721,7 +721,7 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym
, CHC_STRING
, g_aSymbolTableNames[ iTable ]
, CHC_DEFAULT
, pPathFileName
, pPathFileName.c_str()
);
}