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:
parent
7bc2ff53bd
commit
6ea5108395
2
symbol.c
2
symbol.c
@ -201,7 +201,7 @@ bool cFemonSymbolCache::Flush(void)
|
|||||||
|
|
||||||
cBitmap& cFemonSymbolCache::Get(eSymbols symbolP)
|
cBitmap& cFemonSymbolCache::Get(eSymbols symbolP)
|
||||||
{
|
{
|
||||||
cBitmap *bitmapM = cacheM[SYMBOL_ONEPIXEL];
|
cBitmap *bitmapM = &bmOnePixel;
|
||||||
|
|
||||||
if (symbolP < cacheM.Size())
|
if (symbolP < cacheM.Size())
|
||||||
bitmapM = cacheM[symbolP];
|
bitmapM = cacheM[symbolP];
|
||||||
|
Loading…
Reference in New Issue
Block a user