IO_ERROR: improve What() message

This commit is contained in:
Chris Pavlina
2016-12-29 13:50:38 -05:00
parent a5178c70db
commit aa27e9ff7e
+5 -1
View File
@@ -32,7 +32,11 @@
const wxString IO_ERROR::What() const
{
return wxString( "IO_ERROR: " ) + Problem() + "\n\t" + Where();
#ifdef DEBUG
return wxString( "IO_ERROR: " ) + Problem() + "\n\n" + Where();
#else
return Problem();
#endif
}