diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2013-12-13 21:45:12 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2013-12-13 21:45:12 +0000 |
commit | 2c73c95d00f1637031042a75fc99d2a4ba92d21b (patch) | |
tree | 3045572929b98ce11069aa0bd849027f7631e0d6 /protocols/Gadu-Gadu/src/import.cpp | |
parent | aebf745f5f337aedd7abe0c25322b91f51c81310 (diff) |
Gadu-Gadu protocol
- debug log TCHAR's via debugLog() not debugLogA()
git-svn-id: http://svn.miranda-ng.org/main/trunk@7195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/import.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/import.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/import.cpp b/protocols/Gadu-Gadu/src/import.cpp index 1b181db775..523d077111 100644 --- a/protocols/Gadu-Gadu/src/import.cpp +++ b/protocols/Gadu-Gadu/src/import.cpp @@ -391,7 +391,7 @@ INT_PTR GGPROTO::import_text(WPARAM wParam, LPARAM lParam) TCHAR error[256];
mir_sntprintf(error, SIZEOF(error), TranslateT("List cannot be imported from file \"%s\" because of error:\n\t%s (Error: %d)"), str, _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- debugLogA("import_text(): Cannot import list from file \"%S\". errno=%d: %s", str, errno, strerror(errno));
+ debugLog(_T("import_text(): Cannot import list from file \"%s\". errno=%d: %s"), str, errno, strerror(errno));
}
return 0;
@@ -434,7 +434,7 @@ INT_PTR GGPROTO::export_text(WPARAM wParam, LPARAM lParam) ofn.lpstrDefExt = _T("txt");
#ifdef DEBUGMODE
- debugLogA("export_text(%S).", str);
+ debugLog(_T("export_text(%s)."), str);
#endif
if (!GetSaveFileName(&ofn)) return 0;
|