X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=views%2Fevents.c;h=8b1c7aafdf5748cbaababba3d76e86fb0313509e;hb=b1d55fb742ca211967891dd71ceb2707d90f1bcf;hp=1b0d691aca9140211101c7d54421351d569fba00;hpb=ba2658aef9fdf5965818bddaef06ce2e3945bd41;p=lackey diff --git a/views/events.c b/views/events.c index 1b0d691..8b1c7aa 100644 --- a/views/events.c +++ b/views/events.c @@ -1,16 +1,16 @@ /* * Copyright (C) 2012 Andy Spencer - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -108,5 +108,5 @@ int events_run(int key, mmask_t btn, int row, int col) events_draw(); wrefresh(win); } - return 0; + return scroll; }