Add a parameter to write_clip() so that windlg.c need not call term_deselect
[u/mdw/putty] / terminal.c
index f5a2ae0..2191192 100644 (file)
@@ -2001,7 +2001,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
                }
                q = lineend + 1;       /* start of next line */
            }
-           write_clip (selspace, p - selspace);
+           write_clip (selspace, p - selspace, FALSE);
            selstate = SELECTED;
        } else
            selstate = NO_SELECTION;