diff options
author | Neil <nyamatongwe@gmail.com> | 2014-05-03 12:38:27 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-05-03 12:38:27 +1000 |
commit | 66bcc90314984f17644952cbe2b2be23c72ac0eb (patch) | |
tree | 24285e8777d84f00b7a66cd5ef22b31382ae3e3e /src | |
parent | d0a70ff63d32d034a6ee0417466f50acafefba40 (diff) | |
download | scintilla-mirror-66bcc90314984f17644952cbe2b2be23c72ac0eb.tar.gz |
Move RoundXYPosition to global header to enable use in more modules.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b690d8011..aefca0a85 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -88,10 +88,6 @@ Timer::Timer() : Idler::Idler() : state(false), idlerID(0) {} -static int RoundXYPosition(XYPOSITION xyPos) { - return int(xyPos+0.5); -} - static inline bool IsControlCharacter(int ch) { // iscntrl returns true for lots of chars > 127 which are displayable return ch >= 0 && ch < ' '; |