summaryrefslogtreecommitdiff
path: root/plugins/Svc_crshdmp/dumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Svc_crshdmp/dumper.cpp')
-rw-r--r--plugins/Svc_crshdmp/dumper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Svc_crshdmp/dumper.cpp b/plugins/Svc_crshdmp/dumper.cpp
index f2f7f43930..2d6a0a5f1a 100644
--- a/plugins/Svc_crshdmp/dumper.cpp
+++ b/plugins/Svc_crshdmp/dumper.cpp
@@ -517,8 +517,10 @@ void PrintVersionInfo(bkstring& buffer, unsigned flags)
TCHAR profpn[MAX_PATH];
crs_sntprintf(profpn, sizeof(profpn), TEXT("%s\\%s"), profpath, profname);
+ TCHAR* tszFolder = Utils_ReplaceVarsT(profpn);
- buffer.appendfmt(TEXT("Profile: %s\r\n"), profpn);
+ buffer.appendfmt(TEXT("Profile: %s\r\n"), tszFolder);
+ mir_free(tszFolder);
if (flags & VI_FLAG_PRNVAR)
{