diff options
-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 < ' '; } |