From 29d7b5f437b38266afe8405b209adcc777466dc3 Mon Sep 17 00:00:00 2001 From: Nvertigo Date: Wed, 11 Feb 2015 14:37:16 +0100 Subject: [PATCH] hotfix for 2.1.10 --- softhddevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/softhddevice.cpp b/softhddevice.cpp index b3467a5..a744052 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -496,7 +496,7 @@ void cSoftOsd::Flush(void) } LOCK_PIXMAPS; - while ((pm = RenderPixmaps())) { + while ((pm = dynamic_cast(RenderPixmaps()))) { int x; int y; int w; @@ -513,7 +513,7 @@ void cSoftOsd::Flush(void) #endif OsdDrawARGB(x, y, w, h, pm->Data()); - delete pm; + DestroyPixmap(pm); } Dirty = 0; } -- 2.0.5