1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Don't use cache for a default value.

This commit is contained in:
Rolf Ahrenberg 2017-01-05 15:38:42 +02:00
parent 7bc2ff53bd
commit 6ea5108395

View File

@ -201,7 +201,7 @@ bool cFemonSymbolCache::Flush(void)
cBitmap& cFemonSymbolCache::Get(eSymbols symbolP)
{
cBitmap *bitmapM = cacheM[SYMBOL_ONEPIXEL];
cBitmap *bitmapM = &bmOnePixel;
if (symbolP < cacheM.Size())
bitmapM = cacheM[symbolP];