Fix compiler warning

This commit is contained in:
Raphael Coeffic
2021-06-14 17:21:42 +02:00
parent b610b22328
commit 058a44c9a7
+1 -2
View File
@@ -420,9 +420,8 @@ void ModelMixesPage::build(FormWindow * window, int8_t focusMixIndex)
return 0;
});
StaticBitmap* bitmap = nullptr;
if (count++ > 0) {
bitmap = new StaticBitmap(
new StaticBitmap(
txt,
{35 - txt->left(),
button->top() - txt->top() + (button->height() - 18) / 2, 25,