diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index 5526c65da..0d0414a4a 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -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"), [] { diff --git a/es-core/src/components/OptionListComponent.h b/es-core/src/components/OptionListComponent.h index 02075ab46..823d9cf1f 100644 --- a/es-core/src/components/OptionListComponent.h +++ b/es-core/src/components/OptionListComponent.h @@ -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(getSelectedObjects().size())), numString.c_str()); } else { ss << Utils::String::format( - _n("%i SELECTED", "%i SELECTED", getSelectedObjects().size()), + _n("%i SELECTED", "%i SELECTED", + static_cast(getSelectedObjects().size())), getSelectedObjects().size()); }