summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/crshdmp.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-10 17:48:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-10 17:48:31 +0000
commit64e1340acd813704c9e9009b0a4e6fc9a3fb5adf (patch)
treea8a83a6c695ef78ce804340124f45e7aafa7d45a /plugins/CrashDumper/src/crshdmp.cpp
parent972be4fb5cc3c045ae640170421cf5a9dc18ffce (diff)
bkstring removed from CrashDumper
git-svn-id: http://svn.miranda-ng.org/main/trunk@6857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src/crshdmp.cpp')
-rw-r--r--plugins/CrashDumper/src/crshdmp.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp
index 5cea6dac9a..a2992f24db 100644
--- a/plugins/CrashDumper/src/crshdmp.cpp
+++ b/plugins/CrashDumper/src/crshdmp.cpp
@@ -76,9 +76,7 @@ INT_PTR StoreVersionInfoToFile(WPARAM, LPARAM lParam)
if (hDumpFile != INVALID_HANDLE_VALUE)
{
- bkstring buffer;
-
- buffer.reserve(0x1800);
+ CMString buffer;
PrintVersionInfo(buffer, (unsigned int)lParam | VI_FLAG_PRNVAR);
char* bufu = mir_utf8encodeT(buffer.c_str());
@@ -97,9 +95,7 @@ INT_PTR StoreVersionInfoToFile(WPARAM, LPARAM lParam)
INT_PTR StoreVersionInfoToClipboard(WPARAM, LPARAM lParam)
{
- bkstring buffer;
- buffer.reserve(0x1800);
-
+ CMString buffer;
WriteBBFile(buffer, true);
PrintVersionInfo(buffer, (unsigned int)lParam | VI_FLAG_PRNVAR | VI_FLAG_FORMAT);
WriteBBFile(buffer, false);
@@ -111,8 +107,7 @@ INT_PTR StoreVersionInfoToClipboard(WPARAM, LPARAM lParam)
INT_PTR UploadVersionInfo(WPARAM, LPARAM lParam)
{
- bkstring buffer;
- buffer.reserve(0x1800);
+ CMString buffer;
PrintVersionInfo(buffer);
VerTrnsfr *trn = (VerTrnsfr*)mir_alloc(sizeof(VerTrnsfr));