summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-12-19 16:25:11 +0000
committerphintuka <phintuka>2008-12-19 16:25:11 +0000
commitacf141e0889a506bf385b68aa24463f8520ed9a1 (patch)
treebd6e7213c10e0f5150f0115a250be2adc972b1aa
parent6630f8acfe80f743689f5e2eb3288ac08f2a77d7 (diff)
downloadxineliboutput-acf141e0889a506bf385b68aa24463f8520ed9a1.tar.gz
xineliboutput-acf141e0889a506bf385b68aa24463f8520ed9a1.tar.bz2
do not check (unsigned) < 0
-rw-r--r--xine/osd_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine/osd_manager.c b/xine/osd_manager.c
index 238bc6cb..3ce2e4f2 100644
--- a/xine/osd_manager.c
+++ b/xine/osd_manager.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: osd_manager.c,v 1.6 2008-12-18 14:05:05 phintuka Exp $
+ * $Id: osd_manager.c,v 1.7 2008-12-19 16:25:11 phintuka Exp $
*
*/
@@ -572,7 +572,7 @@ static int exec_osd_command(osd_manager_t *this_gen,
LOGMSG("exec_osd_command: Stream not initialized !");
return CONTROL_DISCONNECTED;
}
- if (cmd->wnd < 0 || cmd->wnd >= MAX_OSD_OBJECT) {
+ if (cmd->wnd >= MAX_OSD_OBJECT) {
LOGMSG("exec_osd_command: OSD window handle %d out of range !", cmd->wnd);
return CONTROL_PARAM_ERROR;
}