Skip to content

Commit

Permalink
Fix typo and misread type.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Feb 17, 2024
1 parent e496fd8 commit 6257662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fl_Terminal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ bool Fl_Terminal::selection_extend(int X,int Y) {
}

/**
Select the word around the given row and colum.
Select the word around the given row and column.
*/
void Fl_Terminal::select_word(int grow, int gcol) {
int i, c0, c1;
Expand Down Expand Up @@ -3636,7 +3636,7 @@ int Fl_Terminal::handle_selection(int e) {
} else { // Start a new selection
select_.push_rowcol(grow, gcol, gcr);
if (select_.clear()) redraw(); // clear prev selection
if (is_rowcol > 0) {
if (is_rowcol) {
switch (Fl::event_clicks()) {
case 1: select_word(grow, gcol); break;
case 2: select_line(grow); break;
Expand Down

0 comments on commit 6257662

Please sign in to comment.