forked from mia/Aegisub
Cast size_ts passed to wxString::Format to ints
Originally committed to SVN as r6822.
This commit is contained in:
parent
21100038f5
commit
4f832e4b82
1 changed files with 3 additions and 3 deletions
|
@ -262,9 +262,9 @@ void DialogAutomation::OnInfo(wxCommandEvent &)
|
|||
|
||||
info.push_back(wxString::Format(
|
||||
_("Total scripts loaded: %d\nGlobal scripts loaded: %d\nLocal scripts loaded: %d\n"),
|
||||
local_manager->GetScripts().size() + global_manager->GetScripts().size(),
|
||||
global_manager->GetScripts().size(),
|
||||
local_manager->GetScripts().size()));
|
||||
(int)local_manager->GetScripts().size() + (int)global_manager->GetScripts().size(),
|
||||
(int)global_manager->GetScripts().size(),
|
||||
(int)local_manager->GetScripts().size()));
|
||||
|
||||
info.push_back(_("Scripting engines installed:"));
|
||||
transform(Automation4::ScriptFactory::GetFactories(), append_info, fac_to_str);
|
||||
|
|
Loading…
Reference in a new issue