From b8f7d5eb137d86b10550ddf06c607630763e0697 Mon Sep 17 00:00:00 2001 From: cantabile Date: Tue, 15 May 2012 14:07:10 +0000 Subject: [PATCH] Jump To dialog: use correct format specifier in wxString::Format Avoids an assertion failure. Originally committed to SVN as r6803. --- aegisub/src/dialog_jumpto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_jumpto.cpp b/aegisub/src/dialog_jumpto.cpp index 0cf998a5a..d597a36cc 100644 --- a/aegisub/src/dialog_jumpto.cpp +++ b/aegisub/src/dialog_jumpto.cpp @@ -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)); } }