We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a5233e commit d32bb0fCopy full SHA for d32bb0f
1 file changed
src/qhexedit.cpp
@@ -935,7 +935,7 @@ void QHexEdit::paintEvent(QPaintEvent *event)
935
int hexPos = _cursorPosition - 2 * _bPosFirst;
936
937
// due to scrolling the cursor can go out of the currently displayed data
938
- if ((hexPos >= 0) && (hexPos < _hexDataShown.size()))
+ if ((hexPos >= 0) && (hexPos <= _hexDataShown.size()))
939
{
940
ColoredArea curArea;
941
if (_editAreaIsAscii)
0 commit comments