summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/srmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/srmm.cpp')
-rw-r--r--plugins/TabSRMM/src/srmm.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index afe680f635..c98b28c076 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -125,15 +125,8 @@ int _DebugTraceW(const wchar_t *fmt, ...)
mir_snprintf(szLogFileName, SIZEOF(szLogFileName), "%s\\%s", szDataPath, "tabsrmm_debug.log");
f = fopen(szLogFileName, "a+");
if (f) {
- char *szDebug = mir_utf8encodeT(debug);
fputs(tszTime, f);
- if (szDebug != NULL) {
- fputs(szDebug, f);
- mir_free(szDebug);
- }
- else {
- fputs("mir_utf8encodeT() fail in _DebugTraceW()", f);
- }
+ fputs(T2Utf(debug), f);
fputs("\n", f);
fclose(f);
}