From b01a51a8449aa591a02ec22eb31850c2ae644687 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Tue, 1 Aug 2006 15:16:29 +0200 Subject: [PATCH] saved 2LOC --- event.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/event.c b/event.c index 99216b3..a34bdc8 100644 --- a/event.c +++ b/event.c @@ -116,12 +116,10 @@ buttonpress(XEvent *e) } break; case Button4: - a.i = (tsel + 1 < TLast) ? tsel + 1 : 0; - view(&a); + viewnext(&a); break; case Button5: - a.i = (tsel - 1 >= 0) ? tsel - 1 : TLast - 1; - view(&a); + viewprev(&a); break; } }