From c2d059f92e5e3e5f7516ef0a0df48a1602c67985 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 13 Oct 2021 17:23:29 +0200 Subject: [PATCH] (Windows) Fixed two MSVC compiler warnings. --- es-app/src/views/gamelist/DetailedGameListView.cpp | 2 +- es-app/src/views/gamelist/VideoGameListView.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/es-app/src/views/gamelist/DetailedGameListView.cpp b/es-app/src/views/gamelist/DetailedGameListView.cpp index 35808dd29..b343e8b3c 100644 --- a/es-app/src/views/gamelist/DetailedGameListView.cpp +++ b/es-app/src/views/gamelist/DetailedGameListView.cpp @@ -106,7 +106,7 @@ DetailedGameListView::DetailedGameListView(Window* window, FileData* root) addChild(&mBadges); mBadges.setOrigin(0.0f, 0.0f); mBadges.setPosition(mSize.x * 0.8f, mSize.y * 0.7f); - mBadges.setSize(mSize.x * 0.15, mSize.y * 0.2f); + mBadges.setSize(mSize.x * 0.15f, mSize.y * 0.2f); mBadges.setDefaultZIndex(50.0f); mName.setPosition(mSize.x, mSize.y); diff --git a/es-app/src/views/gamelist/VideoGameListView.cpp b/es-app/src/views/gamelist/VideoGameListView.cpp index 6e98be2e1..c0f1c1bc4 100644 --- a/es-app/src/views/gamelist/VideoGameListView.cpp +++ b/es-app/src/views/gamelist/VideoGameListView.cpp @@ -123,7 +123,7 @@ VideoGameListView::VideoGameListView(Window* window, FileData* root) addChild(&mBadges); mBadges.setOrigin(0.0f, 0.0f); mBadges.setPosition(mSize.x * 0.8f, mSize.y * 0.7f); - mBadges.setSize(mSize.x * 0.15, mSize.y * 0.2f); + mBadges.setSize(mSize.x * 0.15f, mSize.y * 0.2f); mBadges.setDefaultZIndex(50.0f); mName.setPosition(mSize.x, mSize.y);