diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-28 14:07:34 +1100 |
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-02-28 14:07:34 +1100 |
| commit | 774b6ffb346a0ed98e58302a9f294fde0a32cc0f (patch) | |
| tree | 7be06fa39e4d9aeec4af89aa9b94af223324ca3e | |
| parent | 17f3e4e83b283a9e240b97b5e5f9e3663ad52542 (diff) | |
| download | scintilla-mirror-774b6ffb346a0ed98e58302a9f294fde0a32cc0f.tar.gz | |
Removed unnecessary code.
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 8 |
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; |
