diff options
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r-- | src/CallTip.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx index db62c4ed1..a41ba9519 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -228,7 +228,8 @@ int CallTip::PaintContents(Surface *surfaceWindow, bool draw) { chunkHighlight.start -= lineStart; chunkHighlight.end -= lineStart; - rcClient.top = static_cast<XYPOSITION>(ytext - ascent - 1); + const int top = ytext - ascent - 1; + rcClient.top = top; int x = insetX; // start each line at this inset |