summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-14 15:52:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-14 15:52:54 +0100
commit410968304cfd06f077386e8a5db62120abac3f8c (patch)
tree5d4a977274d5da26717bf6162ffaf1339441ee93 /osd.c
parent11e04d4228b00126fa2a9992a6b6e264d8d71ea3 (diff)
downloadvdr-410968304cfd06f077386e8a5db62120abac3f8c.tar.gz
vdr-410968304cfd06f077386e8a5db62120abac3f8c.tar.bz2
Fixed the return value of cOsdProvider::StoreImage() in case there is no OSD provider
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 f6d2168a..cc652b62 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 2.37 2013/02/13 12:55:26 kls Exp $
+ * $Id: osd.c 2.38 2013/02/14 15:50:19 kls Exp $
*/
#include "osd.h"
@@ -2057,7 +2057,7 @@ int cOsdProvider::StoreImage(const cImage &Image)
{
if (osdProvider)
return osdProvider->StoreImageData(Image);
- return -1;
+ return 0;
}
void cOsdProvider::DropImage(int ImageHandle)