summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/commons.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-08-01 18:12:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-08-01 18:12:05 +0000
commitbefbbe3b75cf8001b40fc5fa06d66f1d5b9614da (patch)
tree0f281a8f499516691634f91848e1656f19dbea26 /plugins/SpellChecker/src/commons.h
parent369f8ac171c5268c2d8944aaeb7fc365e833a832 (diff)
SpellChecker:
code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@1309 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/commons.h')
-rw-r--r--plugins/SpellChecker/src/commons.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/SpellChecker/src/commons.h b/plugins/SpellChecker/src/commons.h
index 2ad53b6092..834c2ad21e 100644
--- a/plugins/SpellChecker/src/commons.h
+++ b/plugins/SpellChecker/src/commons.h
@@ -20,8 +20,7 @@ Boston, MA 02111-1307, USA.
#ifndef __COMMONS_H__
# define __COMMONS_H__
-
-#define OEMRESOURCE
+#define OEMRESOURCE
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
@@ -31,9 +30,6 @@ Boston, MA 02111-1307, USA.
#include <richole.h>
#include <commctrl.h>
-// Disable "...truncated to '255' characters in the debug information" warnings
-#pragma warning(disable: 4786)
-
#include <map>
#include <vector>
#include <string>
@@ -41,8 +37,7 @@ using namespace std;
// Miranda headers
-#define MIRANDA_VER 0x0900
-#define MIRANDA_CUSTOM_LP
+#define MIRANDA_VER 0x0A00
#include <newpluginapi.h>
#include <m_system.h>
#include <m_system_cpp.h>
@@ -59,6 +54,7 @@ using namespace std;
#include <m_message.h>
#include <m_icolib.h>
#include <m_hotkeys.h>
+#include <win2k.h>
//own includes
#include "m_folders.h"
@@ -95,7 +91,6 @@ extern BOOL uinfoex_enabled;
extern BOOL variables_enabled;
-#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]))
#define FREE(_m_) if (_m_ != NULL) { free(_m_); _m_ = NULL; }