aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaCocoa.mm8
1 files changed, 2 insertions, 6 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 36ddd9124..0a0b2597b 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -404,12 +404,8 @@ ScintillaCocoa::~ScintillaCocoa()
*/
void ScintillaCocoa::Initialise()
{
- static bool initedLexers = false;
- if (!initedLexers)
- {
- initedLexers = true;
- Scintilla_LinkLexers();
- }
+ Scintilla_LinkLexers();
+
notifyObj = NULL;
notifyProc = NULL;