summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-12 09:08:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-12 09:08:38 +0000
commit744158b569eb5c888644069c03f01463bc632c34 (patch)
treed416dabba85a4f77f74795c81f82e0ccb5c3d5bc
parent77e8bf976c6abb04539913b61a1dbf45269a1d10 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/helpers/commonheaders.h1
-rw-r--r--src/modules/extraicons/extraicons.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/helpers/commonheaders.h b/plugins/helpers/commonheaders.h
index a7ee53e754..42cd85779a 100644
--- a/plugins/helpers/commonheaders.h
+++ b/plugins/helpers/commonheaders.h
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# define _UNICODE
#endif
+#define _CRT_SECURE_NO_WARNINGS
#define MIRANDA_VER 0x0A00
#include <tchar.h>
diff --git a/src/modules/extraicons/extraicons.cpp b/src/modules/extraicons/extraicons.cpp
index 4c2db55aa4..503bfce061 100644
--- a/src/modules/extraicons/extraicons.cpp
+++ b/src/modules/extraicons/extraicons.cpp
@@ -305,7 +305,7 @@ void fnReloadExtraIcons()
}
void fnSetAllExtraIcons(HWND hwndList, HANDLE hContact)
-{
+ {
if (cli.hwndContactTree == 0)
return;