Fix compiler error when Debug_Timers is enabled
Lug BG/FG is never used. Only LUA. Removed extra + Change my oopsie (model_select.cpp) compiler warning that didn't show up until I started using docker
This commit is contained in:
@@ -431,9 +431,9 @@ class CategoryEditPage : public PageTab
|
||||
|
||||
// Details
|
||||
char cnt[19];
|
||||
snprintf(cnt, sizeof(cnt), "%d %s", category->size(), STR_MODELS);
|
||||
new StaticText(window, grid.getFieldSlot(3,1), cnt);
|
||||
|
||||
snprintf(cnt, sizeof(cnt), "%lu %s", category->size(), STR_MODELS);
|
||||
new StaticText(window, grid.getFieldSlot(3,1), cnt);
|
||||
|
||||
if(category->empty()) {
|
||||
new TextButton(window, grid.getFieldSlot(3,2),TR_DELETE, [=]() -> uint8_t {
|
||||
new ConfirmDialog(window, STR_DELETE_CATEGORY,
|
||||
|
||||
Reference in New Issue
Block a user