Fix copy-paste error in luaLcdDrawNumber()

Resolves #127
This commit is contained in:
Raphael Coeffic
2021-05-30 19:10:28 +02:00
parent f824faefd5
commit 267375cda8
-2
View File
@@ -297,8 +297,6 @@ static int luaLcdDrawNumber(lua_State *L)
unsigned int att = luaL_optunsigned(L, 4, 0);
att = (att & 0xFFFF) | COLOR(COLOR_VAL(att));
if (att & INVERS)
if ((att & SHADOWED) && !(att & INVERS)) {
luaLcdBuffer->drawNumber(x, y, val, att & 0xFFFF);
}