From 7ef36cff963bf1153dc696f76498eb7a97943bc2 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 11 Mar 2016 17:51:55 +0000 Subject: CrashDumper: current databse driver to vi git-svn-id: http://svn.miranda-ng.org/main/trunk@16463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/dumper.cpp | 4 +++- plugins/CrashDumper/src/stdafx.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/CrashDumper') 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 . #include #include #include +#include #include "m_folders.h" #include "m_toptoolbar.h" -- cgit v1.2.3