diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 17:02:36 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 17:02:36 +0000 |
commit | b4b33384b4bce30863d9d01aa6e0b60f588d281d (patch) | |
tree | e1732ca9a36ef790b92d0a21bdf4c919116bc117 /plugins/SplashScreen/src/debug.h | |
parent | 757be86f9884f7f6e35ebfcd2f1e6be163348eef (diff) |
- Another portion of _T replacement and fixes of previous commits (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/debug.h')
-rw-r--r-- | plugins/SplashScreen/src/debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SplashScreen/src/debug.h b/plugins/SplashScreen/src/debug.h index 62c1a0a7d8..70e36dfaed 100644 --- a/plugins/SplashScreen/src/debug.h +++ b/plugins/SplashScreen/src/debug.h @@ -43,7 +43,7 @@ int inline _DebugPopup(HANDLE hContact, TCHAR *fmt, ...) int inline initLog()
{
- fclose(_tfopen(szLogFile, L"w"));
+ fclose(_tfopen(szLogFile, _T("w")));
return 0;
}
@@ -53,8 +53,8 @@ int inline initLog() void inline logMessage(TCHAR *func, TCHAR *msg)
{
- FILE *f = _tfopen(szLogFile, L"a");
- _ftprintf(f, L"%s:\t\t%s\n", func, msg);
+ FILE *f = _tfopen(szLogFile, _T("a"));
+ _ftprintf(f, _T("%s:\t\t%s\n"), func, msg);
fclose(f);
}
|