GRAPHICS: MACGUI: Fix end line text selection hihglight

This commit is contained in:
Eugene Sandulenko 2017-08-04 07:50:15 +02:00
parent 410efd9ff5
commit c7f83cd435

View file

@ -455,7 +455,7 @@ void MacText::getRowCol(int x, int y, int *sx, int *sy, int *row, int *col) {
(*row)--; (*row)--;
if (y > _textMaxHeight) if (y > _textMaxHeight)
x = getLineWidth(*row); x = _surface->w;
*sy = _textLines[*row].y; *sy = _textLines[*row].y;