diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 06:41:04 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 06:41:04 +0000 |
commit | de1292e9f4e979e70c568eb2247cefbdf470fcec (patch) | |
tree | febb0d287e86875d9481ec003892744e7eb07bc6 /plugins/Svc_crshdmp/dumper.cpp | |
parent | 9ec2ba379f413bc3817a49f374c5faa1ee23c01a (diff) |
Svc_crshdmp - patch from Mataes
git-svn-id: http://svn.miranda-ng.org/main/trunk@126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Svc_crshdmp/dumper.cpp')
-rw-r--r-- | plugins/Svc_crshdmp/dumper.cpp | 4 |
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)
{
|