summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/CrashDumper/src/dumper.cpp4
-rw-r--r--plugins/CrashDumper/src/stdafx.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp
index 3b7a3524f7..44b5a8b1f4 100644
--- a/plugins/CrashDumper/src/dumper.cpp
+++ b/plugins/CrashDumper/src/dumper.cpp
@@ -482,7 +482,9 @@ void PrintVersionInfo(CMString& buffer, unsigned flags)
TCHAR profpn[MAX_PATH];
mir_sntprintf(profpn, TEXT("%s\\%s"), profpathfull, profname);
- buffer.AppendFormat(TEXT("Profile: %s\r\n"), profpn);
+ DATABASELINK *db = FindDatabasePlugin(profpn);
+
+ buffer.AppendFormat(TEXT("Profile: %s (%s)\r\n"), profpn, db->szFullName);
if (flags & VI_FLAG_PRNVAR) {
WIN32_FIND_DATA FindFileData;
diff --git a/plugins/CrashDumper/src/stdafx.h b/plugins/CrashDumper/src/stdafx.h
index 88427dda74..64b86b2da7 100644
--- a/plugins/CrashDumper/src/stdafx.h
+++ b/plugins/CrashDumper/src/stdafx.h
@@ -35,6 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <m_popup.h>
#include <m_netlib.h>
#include <m_string.h>
+#include <m_db_int.h>
#include "m_folders.h"
#include "m_toptoolbar.h"