… | … | ||
---|---|---|---|
2690 | rxvt_term::selection_clear () | 2690 | rxvt_term::selection_clear () |
2691 | { | 2691 | { |
2692 | D_SELECT ((stderr, "rxvt_selection_clear ()")); | 2692 | D_SELECT ((stderr, "rxvt_selection_clear ()")); |
2693 | 2693 | ||
2694 | want_refresh = 1; | 2694 | want_refresh = 1; |
2695 | if (selection.text) | ||
2696 | free (selection.text); | 2695 | free (selection.text); |
2697 | selection.text = NULL; | 2696 | selection.text = NULL; |
2698 | selection.len = 0; | 2697 | selection.len = 0; |
2699 | CLEAR_SELECTION (); | 2698 | CLEAR_SELECTION (); |
2700 | } | 2699 | } |
2701 | 2700 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |