summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osd.c b/osd.c
index 09c05b52..e24b6c92 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c,v 1.4 2006-08-07 21:09:16 phintuka Exp $
+ * $Id: osd.c,v 1.5 2006-08-26 19:09:08 phintuka Exp $
*
*/
@@ -325,7 +325,7 @@ cXinelibOsdProvider::~cXinelibOsdProvider()
// Detach all OSD instances from device
cXinelibOsd *osd;
- while(osd = cXinelibOsd::m_OsdStack.First()) {
+ while(NULL != (osd = cXinelibOsd::m_OsdStack.First())) {
osd->Detach();
cXinelibOsd::m_OsdStack.Del(osd, false);
}