Jump To dialog: use correct format specifier in wxString::Format

Avoids an assertion failure.

Originally committed to SVN as r6803.
This commit is contained in:
cantabile 2012-05-15 14:07:10 +00:00 committed by Thomas Goyne
parent 5d9268792f
commit b8f7d5eb13
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ void DialogJumpTo::OnEditTime (wxCommandEvent &) {
long newframe = c->videoController->FrameAtTime(JumpTime->GetTime());
if (jumpframe != newframe) {
jumpframe = newframe;
JumpFrame->ChangeValue(wxString::Format("%i", jumpframe));
JumpFrame->ChangeValue(wxString::Format("%li", jumpframe));
}
}