From 774b6ffb346a0ed98e58302a9f294fde0a32cc0f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 28 Feb 2013 14:07:34 +1100 Subject: Removed unnecessary code. --- cocoa/ScintillaCocoa.mm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'cocoa') 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; -- cgit v1.2.3