diff --git a/es-app/src/views/gamelist/VideoGameListView.cpp b/es-app/src/views/gamelist/VideoGameListView.cpp index 2d2f4faa6..05c2ff62b 100644 --- a/es-app/src/views/gamelist/VideoGameListView.cpp +++ b/es-app/src/views/gamelist/VideoGameListView.cpp @@ -450,10 +450,10 @@ void VideoGameListView::updateInfoPanel() // Generate badges slots value based on the game metadata. std::stringstream ss; - ss << (file->metadata.get("favorite").compare("true") ? "favorite " : ""); - ss << (file->metadata.get("completed").compare("true") ? "completed " : ""); - ss << (file->metadata.get("kidgame").compare("true") ? "kidgame " : ""); - ss << (file->metadata.get("broken").compare("true") ? "broken " : ""); + ss << (file->metadata.get("favorite").compare("true") ? "" : "favorite "); + ss << (file->metadata.get("completed").compare("true") ? "" : "completed "); + ss << (file->metadata.get("kidgame").compare("true") ? "" : "kidgame "); + ss << (file->metadata.get("broken").compare("true") ? "" : "broken "); std::string slots = ss.str(); if (!slots.empty()) slots.pop_back(); diff --git a/es-core/src/components/FlexboxComponent.h b/es-core/src/components/FlexboxComponent.h index 3be634e00..45c82637c 100644 --- a/es-core/src/components/FlexboxComponent.h +++ b/es-core/src/components/FlexboxComponent.h @@ -28,7 +28,6 @@ #define DEFAULT_MARGIN_X 10.0f #define DEFAULT_MARGIN_Y 10.0f #define DEFAULT_ITEM_SIZE_X 64.0f -#define DEFAULT_ITEM_SIZE_Y 64.0f class TextureResource;