summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/mmi.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-02 15:51:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-02 15:51:46 +0000
commiteca1b167120907f6d927de29f449c93bdf381a83 (patch)
tree0699691346ba01d3963cf5c3ef49138713f37205 /plugins/CryptoPP/mmi.cpp
parent1ed8a4ff1ec95b0df08a5bf48bb372c8481e381b (diff)
- removed __asm piece
git-svn-id: http://svn.miranda-ng.org/main/trunk@717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/mmi.cpp')
-rw-r--r--plugins/CryptoPP/mmi.cpp6
1 files changed, 3 insertions, 3 deletions
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);