From b6c1c9f09ada59b7f363b9f51e4a29fc15a7de37 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Mon, 2 Mar 2015 02:28:49 +0000 Subject: 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 --- plugins/TabSRMM/src/srmm.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'plugins/TabSRMM/src/srmm.cpp') 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... -- cgit v1.2.3