summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;