diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-04-08 10:08:19 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-04-08 02:49:02 +0300 |
commit | befdc4e35ece26a8738e21af508bb49343f52cd3 (patch) | |
tree | 6390d07f2c97a9183b094aca2773c1eab5a11f0d /scintilla/lexlib/LexerModule.cxx | |
parent | b5ea4fc1e949dc8dacb5a6b28f140be064143170 (diff) | |
download | notepad2-mod-befdc4e35ece26a8738e21af508bb49343f52cd3.zip notepad2-mod-befdc4e35ece26a8738e21af508bb49343f52cd3.tar.gz notepad2-mod-befdc4e35ece26a8738e21af508bb49343f52cd3.tar.bz2 |
update scintilla to v3.30 9f249e248e4268d124692485a759a0881b756b9a
Diffstat (limited to 'scintilla/lexlib/LexerModule.cxx')
-rw-r--r-- | scintilla/lexlib/LexerModule.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scintilla/lexlib/LexerModule.cxx b/scintilla/lexlib/LexerModule.cxx index 4b1aa6d..853039f 100644 --- a/scintilla/lexlib/LexerModule.cxx +++ b/scintilla/lexlib/LexerModule.cxx @@ -74,11 +74,9 @@ int LexerModule::GetNumWordLists() const { }
const char *LexerModule::GetWordListDescription(int index) const {
- static const char *emptyStr = "";
-
assert(index < GetNumWordLists());
if (index >= GetNumWordLists()) {
- return emptyStr;
+ return "";
} else {
return wordListDescriptions[index];
}
|