mirror of https://github.com/odrling/Aegisub
Use %ld for size_t in RebuildRecentList, fixes an assert in wxString::Format.
Originally committed to SVN as r4682.
This commit is contained in:
parent
d3e9a906aa
commit
5755d7e1a0
|
@ -266,7 +266,7 @@ void FrameMain::RebuildRecentList(wxString listName,wxMenu *menu,int startID) {
|
|||
wxString n;
|
||||
wxArrayString entries = lagi_MRU_wxAS(listName);
|
||||
for (size_t i=0;i<entries.Count();i++) {
|
||||
n = wxString::Format(_T("%i"),i+1);
|
||||
n = wxString::Format(_T("%ld"),i+1);
|
||||
if (i < 9) n = _T("&") + n;
|
||||
wxFileName shortname(entries[i]);
|
||||
wxString filename = shortname.GetFullName();
|
||||
|
|
Loading…
Reference in New Issue