From aa531ef1fc9c69a8468746d1c5d2e8c6aab2d03a Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 29 Jan 2003 11:08:11 +0000 Subject: percent should not be more than 100 CVS patchset: 4035 CVS date: 2003/01/29 11:08:11 --- src/input/net_buf_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c index 141fca768..27c19d5ff 100644 --- a/src/input/net_buf_ctrl.c +++ b/src/input/net_buf_ctrl.c @@ -53,7 +53,7 @@ static void report_progress (xine_stream_t *stream, int p) { xine_progress_data_t prg; prg.description = _("Buffering..."); - prg.percent = p; + prg.percent = (p>100)?100:p; event.type = XINE_EVENT_PROGRESS; event.data = &prg; -- cgit v1.2.3