From eca1b167120907f6d927de29f449c93bdf381a83 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jul 2012 15:51:46 +0000 Subject: - removed __asm piece git-svn-id: http://svn.miranda-ng.org/main/trunk@717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/mmi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CryptoPP/mmi.cpp') diff --git a/plugins/CryptoPP/mmi.cpp b/plugins/CryptoPP/mmi.cpp index 03294c6017..68026578bb 100644 --- a/plugins/CryptoPP/mmi.cpp +++ b/plugins/CryptoPP/mmi.cpp @@ -2,7 +2,7 @@ /* void m_check(void *ptr, const char *module) { - if(ptr==NULL) { + if (ptr==NULL) { char buffer[128]; strcpy(buffer,module); strcat(buffer,": NULL pointer detected !"); MessageBoxA(0,buffer,szModuleName,MB_OK|MB_ICONSTOP); @@ -23,7 +23,7 @@ void *m_alloc(size_t size) { void m_free(void *ptr) { // m_check(ptr,"m_free"); - if(ptr) { + if (ptr) { free(ptr); } } @@ -59,7 +59,7 @@ void operator delete[](void *p) { char *m_strdup(const char *str) { - if(str==NULL) return NULL; + if (str==NULL) return NULL; int len = (int)strlen(str)+1; char *dup = (char*) m_alloc(len); MoveMemory((void*)dup,(void*)str,len); -- cgit v1.2.3