summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-31 18:13:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-31 18:13:47 +0000
commit1a1ad1b654d6635913d565890d313d05ee6aa1ab (patch)
tree3f685f699a171f8c94eba6270077a5dc58c52633 /plugins/CrashDumper/src
parentfba12be553799e51a0c48bc9083edc21741888bd (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src')
-rw-r--r--plugins/CrashDumper/src/dumper.cpp25
1 files changed, 13 insertions, 12 deletions
diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp
index 1978a04e35..e35f535d7f 100644
--- a/plugins/CrashDumper/src/dumper.cpp
+++ b/plugins/CrashDumper/src/dumper.cpp
@@ -207,7 +207,7 @@ static void GetPluginsString(CMString& buffer, unsigned& flags)
timebuf, "<unknown>", TEXT(""));
GetLinkedModulesInfo(path, ubuffer);
- ubuffer.Append(TEXT("\r\n"));
+ ubuffer.Append(_T("\r\n"));
++ucount;
}
@@ -442,33 +442,34 @@ static void GetIconStrings(CMString& buffer)
void PrintVersionInfo(CMString& buffer, unsigned flags)
{
GetProcessorString(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
GetFreeMemoryString(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
TCHAR tszOsVer[200];
GetOSDisplayString(tszOsVer, _countof(tszOsVer));
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(tszOsVer);
+ buffer.Append(_T("\r\n"));
GetInternetExplorerVersion(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
GetAdminString(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
GetLanguageString(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
TCHAR *profpathfull = Utils_ReplaceVarsT(profpath);
if (flags & VI_FLAG_PRNVAR) {
GetFreeDiskString(profpathfull, buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
}
buffer.AppendFormat(TEXT("\r\nMiranda NG Version: %s"), vertxt);
GetWow64String(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
TCHAR path[MAX_PATH], mirtime[30];
GetModuleFileName(NULL, path, MAX_PATH);
@@ -497,7 +498,7 @@ void PrintVersionInfo(CMString& buffer, unsigned flags)
mir_free(profpathfull);
GetLanguagePackString(buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
// buffer.AppendFormat(TEXT("Nightly: %s\r\n"), _tcsstr(vertxt, TEXT("alpha")) ? TEXT("Yes") : TEXT("No"));
// buffer.AppendFormat(TEXT("Unicode: %s\r\n"), _tcsstr(vertxt, TEXT("Unicode")) ? TEXT("Yes") : TEXT("No"));
@@ -579,7 +580,7 @@ void CreateCrashReport(HANDLE hDumpFile, PEXCEPTION_POINTERS exc_ptr, const TCHA
int crashpos = buffer.GetLength();
ReadableExceptionInfo(exc_ptr->ExceptionRecord, buffer);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
const HANDLE hProcess = GetCurrentProcess();
@@ -664,7 +665,7 @@ void CreateCrashReport(HANDLE hDumpFile, PEXCEPTION_POINTERS exc_ptr, const TCHA
lineFileName, Line.LineNumber, name);
}
SymCleanup(hProcess);
- buffer.Append(TEXT("\r\n"));
+ buffer.Append(_T("\r\n"));
PrintVersionInfo(buffer, VI_FLAG_PRNDLL);