diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-15 14:44:19 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-15 14:44:19 +0000 |
commit | e41f68f90cae89a9fff600af8a110979d8e2e97a (patch) | |
tree | 3b4d2ab759f3c9664e3d6c8609e1151a7d1698e9 /plugins/SmileyAdd/src | |
parent | 7477933ef5a4ad1609c03efbcbc31ed391155f54 (diff) |
address logging for smileys - canceled
git-svn-id: http://svn.miranda-ng.org/main/trunk@6076 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r-- | plugins/SmileyAdd/src/SmileyBase.cpp | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/general.h | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/main.cpp | 8 |
3 files changed, 3 insertions, 9 deletions
diff --git a/plugins/SmileyAdd/src/SmileyBase.cpp b/plugins/SmileyAdd/src/SmileyBase.cpp index f7ccf58106..badb6d43e8 100644 --- a/plugins/SmileyAdd/src/SmileyBase.cpp +++ b/plugins/SmileyAdd/src/SmileyBase.cpp @@ -61,8 +61,6 @@ ISmileyBase::ISmileyBase(void) memset(&m_orect, 0, sizeof(m_orect));
regSmileys.insert(this);
-
- mir_writeLogA(hLogger, "Possible crash address: %p\n", &m_visible);
}
ISmileyBase::~ISmileyBase(void)
diff --git a/plugins/SmileyAdd/src/general.h b/plugins/SmileyAdd/src/general.h index 4acc5095a7..cb268cdfc7 100644 --- a/plugins/SmileyAdd/src/general.h +++ b/plugins/SmileyAdd/src/general.h @@ -90,7 +90,7 @@ typedef WCMatcher _TMatcher; extern HINSTANCE g_hInst;
extern char* metaProtoName;
extern HANDLE hNetlibUser;
-extern HANDLE hEvent1, hLogger;
+extern HANDLE hEvent1;
extern HGENMENU hContactMenuItem;
extern SmileyCategoryListType g_SmileyCategories;
extern SmileyPackListType g_SmileyPacks;
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index b9ac55fb91..f8ee1407a1 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //globals
HINSTANCE g_hInst;
-HANDLE hEvent1, hLogger;
+HANDLE hEvent1;
HGENMENU hContactMenuItem;
char* metaProtoName;
@@ -89,6 +89,7 @@ extern "C" __declspec(dllexport) int Load(void) if (ServiceExists(MS_SMILEYADD_REPLACESMILEYS)) {
ReportError(TranslateT("Only one instance of SmileyAdd could be executed.\nRemove duplicate instances from 'Plugins' directory"));
+
return 1;
}
@@ -98,11 +99,6 @@ extern "C" __declspec(dllexport) int Load(void) opt.Load();
- // initialize log
- TCHAR szLogFileName[MAX_PATH];
- mir_sntprintf(szLogFileName, MAX_PATH, _T("%s\\smiley.log"), VARST(_T("%miranda_profile%")));
- hLogger = mir_createLog("smileys", _T("Crash log"), szLogFileName, 0);
-
// create smiley events
hEvent1 = CreateHookableEvent(ME_SMILEYADD_OPTIONSCHANGED);
|