diff options
author | nyamatongwe <unknown> | 2000-06-11 07:27:08 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-06-11 07:27:08 +0000 |
commit | 54a6b61c3813e2468388d33f65800f57c9712ebf (patch) | |
tree | 16a2f773e382bddf2f9474bddb21079d96a992f5 | |
parent | 935baaa4e986d42dbe50b389fa0e16d5673dfcd3 (diff) | |
download | scintilla-mirror-54a6b61c3813e2468388d33f65800f57c9712ebf.tar.gz |
Made IsControlCharacter inline as Hans says this speeds it up.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index e13fe1a2e..c6c1e8424 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -185,7 +185,7 @@ int Editor::MaxScrollPos() { return retVal; } -bool IsControlCharacter(char ch) { +static inline bool IsControlCharacter(char ch) { // iscntrl returns true for lots of chars > 127 which are displayable return ch >= 0 && ch < ' '; } |