summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/srmm.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2015-03-02 02:28:49 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2015-03-02 02:28:49 +0000
commitb6c1c9f09ada59b7f363b9f51e4a29fc15a7de37 (patch)
treeea9e52c2e29374dd27671e9f94edd951e7f4250d /plugins/TabSRMM/src/srmm.cpp
parent5decb665b2020761bcd4deee3af25bd75597b4af (diff)
TabSRMM: wine fix for tab paint on mouse move, code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/srmm.cpp')
-rw-r--r--plugins/TabSRMM/src/srmm.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp
index 1e307ff698..afe680f635 100644
--- a/plugins/TabSRMM/src/srmm.cpp
+++ b/plugins/TabSRMM/src/srmm.cpp
@@ -142,33 +142,6 @@ int _DebugTraceW(const wchar_t *fmt, ...)
return 0;
}
-int _DebugTraceA(const char *fmt, ...)
-{
- char debug[2048];
- int ibsize = 2047;
- va_list va;
- va_start(va, fmt);
-
- mir_strcpy(debug, "TABSRMM: ");
- mir_vsnprintf(&debug[9], ibsize - 10, fmt, va);
-#ifdef _DEBUG
- OutputDebugStringA(debug);
-#else
- {
- char szLogFileName[MAX_PATH], szDataPath[MAX_PATH];
- CallService(MS_DB_GETPROFILEPATH, MAX_PATH, (LPARAM)szDataPath);
- mir_snprintf(szLogFileName, SIZEOF(szLogFileName), "%s\\tabsrmm_debug.log", szDataPath);
- FILE *f = fopen(szLogFileName, "a+");
- if (f) {
- fputs(debug, f);
- fputs("\n", f);
- fclose(f);
- }
- }
-#endif
- return 0;
-}
-
/*
* output a notification message.
* may accept a hContact to include the contacts nickname in the notification message...