Don't emit () if there is no file name, not if there is no Symbol.
This commit is contained in:
@@ -61,7 +61,7 @@ void BacktraceNames::Demangle() { }
|
||||
CString BacktraceNames::Format() const
|
||||
{
|
||||
CString ShortenedPath = File;
|
||||
if( Symbol != "" )
|
||||
if( ShortenedPath != "" )
|
||||
{
|
||||
/* We have some sort of symbol name, so abbreviate or elide the module name. */
|
||||
if( ShortenedPath == g_argv[0] )
|
||||
|
||||
Reference in New Issue
Block a user