summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-01-24 04:32:15 +0000
committerphintuka <phintuka>2007-01-24 04:32:15 +0000
commitcc1410f504b30324c381c60f3c4227601827b026 (patch)
tree964024af3bd7a55d3b1c59f034c9889a4809aa8c
parent9c0c8c1ab9bd9f1be2832ae581de93d02ad42990 (diff)
downloadxineliboutput-cc1410f504b30324c381c60f3c4227601827b026.tar.gz
xineliboutput-cc1410f504b30324c381c60f3c4227601827b026.tar.bz2
Should be max
-rw-r--r--frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend.c b/frontend.c
index 74cff5fc..a13f89b1 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.29 2007-01-24 01:05:34 phintuka Exp $
+ * $Id: frontend.c,v 1.30 2007-01-24 04:32:15 phintuka Exp $
*
*/
@@ -353,7 +353,7 @@ int cXinelibThread::Poll(cPoller& Poller, int TimeoutMs)
int n = Xine_Control("POLL", TimeoutMs);
- return min(n, 0);
+ return max(n, 0);
}
//