From 024c9812e4752ea38f8fab05b8b4f05108bb9d4f Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 10 May 2007 19:30:02 +0000 Subject: revert frseltick --- src/libframe/frdraw.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/libframe') diff --git a/src/libframe/frdraw.c b/src/libframe/frdraw.c index 0592ec9c..5f0ae016 100644 --- a/src/libframe/frdraw.c +++ b/src/libframe/frdraw.c @@ -32,7 +32,7 @@ nbytes(char *s0, int nr) } void -frdrawseltick(Frame *f, Point pt, ulong p0, ulong p1, int issel, int ticked) +frdrawsel(Frame *f, Point pt, ulong p0, ulong p1, int issel) { Image *back, *text; @@ -40,7 +40,7 @@ frdrawseltick(Frame *f, Point pt, ulong p0, ulong p1, int issel, int ticked) frtick(f, frptofchar(f, f->p0), 0); if(p0 == p1){ - frtick(f, pt, issel && ticked); + frtick(f, pt, issel); return; } @@ -55,12 +55,6 @@ frdrawseltick(Frame *f, Point pt, ulong p0, ulong p1, int issel, int ticked) frdrawsel0(f, pt, p0, p1, back, text); } -void -frdrawsel(Frame *f, Point pt, ulong p0, ulong p1, int issel) -{ - frdrawseltick(f, pt, p0, p1, issel, issel); -} - void frdrawsel0(Frame *f, Point pt, ulong p0, ulong p1, Image *back, Image *text) { -- cgit v1.2.3