diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-14 11:11:50 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-14 11:11:50 +1100 |
commit | ad340d3cb12cd33a33d04d7fce75b3d53b52a4b6 (patch) | |
tree | ed24a0e735aa60977b4aa23fc04ff99823b8734f /src | |
parent | f7d61952392541139af922ac027bd11dc1cb5c33 (diff) | |
download | scintilla-mirror-ad340d3cb12cd33a33d04d7fce75b3d53b52a4b6.tar.gz |
Fix warnings for suspicious type conversions and not fully bracketed initializers,
Diffstat (limited to 'src')
-rw-r--r-- | src/EditView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index a4c06f25d..2c8979f8c 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -793,7 +793,7 @@ void EditView::DrawEOL(Surface *surface, const EditModel &model, const ViewStyle XYPOSITION xEol = static_cast<XYPOSITION>(ll->positions[lineEnd] - subLineStart); // Fill the virtual space and show selections within it - if (virtualSpace) { + if (virtualSpace > 0.0f) { rcSegment.left = xEol + xStart; rcSegment.right = xEol + xStart + virtualSpace; surface->FillRectangle(rcSegment, background.isSet ? background : vsDraw.styles[ll->styles[ll->numCharsInLine]].back); |