aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-06-11 07:27:08 +0000
committernyamatongwe <devnull@localhost>2000-06-11 07:27:08 +0000
commitdd4025598b4b96cadae48420b698028d67958423 (patch)
tree16a2f773e382bddf2f9474bddb21079d96a992f5 /src
parent96132c9a8fafcf3d5ac5ec226ba9b83ba8ef2ca6 (diff)
downloadscintilla-mirror-dd4025598b4b96cadae48420b698028d67958423.tar.gz
Made IsControlCharacter inline as Hans says this speeds it up.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
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 < ' ';
}