JANITORIAL: GRAPHICS: Correct Spelling Mistake

begining -> beginning
This commit is contained in:
Hubert Maier 2022-11-07 14:53:03 +01:00 committed by Filippos Karapetis
parent 2c0648332a
commit a3ec89bf51

View File

@ -1528,7 +1528,7 @@ void MacText::drawSelection(int xoff, int yoff) {
if (y + _scrollPos >= lastLineStart)
x2 = s.endX;
// if we are selecting text reversely, and we are at the first line but not the select from begining, then we add offset to x1
// if we are selecting text reversely, and we are at the first line but not the select from beginning, then we add offset to x1
// the reason here is if we are not drawing the single line, then we draw selection from x1 to x2 + offset. i.e. we draw from begin
// otherwise, we draw selection from x1 + offset to x2 + offset
if (row == s.startRow && s.startCol != 0) {