From 789944504ac424f1b863668a5079a8cc154b1bee Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 3 May 2014 12:38:27 +1000 Subject: Move RoundXYPosition to global header to enable use in more modules. --- src/Editor.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 < ' '; -- cgit v1.2.3