mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Windows) Fixed some MSVC compiler warnings
This commit is contained in:
parent
8a56304eba
commit
f7be57336b
|
@ -355,7 +355,7 @@ void ViewController::noGamesDialog()
|
|||
_("CANCEL"), nullptr, "", nullptr, nullptr, false, true,
|
||||
(mRenderer->getIsVerticalOrientation() ?
|
||||
0.78f :
|
||||
0.50 * (1.778f / mRenderer->getScreenAspectRatio()))));
|
||||
0.50f * (1.778f / mRenderer->getScreenAspectRatio()))));
|
||||
},
|
||||
_("QUIT"),
|
||||
[] {
|
||||
|
|
|
@ -329,12 +329,14 @@ private:
|
|||
const std::string numString {Utils::String::format(
|
||||
_("%i (OF %i)"), getSelectedObjects().size(), mEntries.size())};
|
||||
ss << Utils::String::format(
|
||||
_n("%s SELECTED", "%s SELECTED", getSelectedObjects().size()),
|
||||
_n("%s SELECTED", "%s SELECTED",
|
||||
static_cast<unsigned long>(getSelectedObjects().size())),
|
||||
numString.c_str());
|
||||
}
|
||||
else {
|
||||
ss << Utils::String::format(
|
||||
_n("%i SELECTED", "%i SELECTED", getSelectedObjects().size()),
|
||||
_n("%i SELECTED", "%i SELECTED",
|
||||
static_cast<unsigned long>(getSelectedObjects().size())),
|
||||
getSelectedObjects().size());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue