From 5ad19a2558a2c22b86f01a080bfbf70854350963 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 25 Mar 2008 23:08:28 +0000 Subject: [PATCH] More .cstr(). Originally committed to SVN as r2144. --- aegisub/dialog_video_details.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/dialog_video_details.cpp b/aegisub/dialog_video_details.cpp index a8075e49e..56e9586f6 100644 --- a/aegisub/dialog_video_details.cpp +++ b/aegisub/dialog_video_details.cpp @@ -64,7 +64,7 @@ DialogVideoDetails::DialogVideoDetails(wxWindow *parent) wxTextCtrl *fps_text = new wxTextCtrl(this, -1, wxString::Format(_T("%.3f"), fps), wxDefaultPosition, wxDefaultSize, wxTE_READONLY); wxTextCtrl *resolution_text = new wxTextCtrl(this, -1, wxString::Format(_T("%dx%d (%s)"), width, height, PrettyAR(width, height).c_str()), wxDefaultPosition, wxDefaultSize, wxTE_READONLY); wxTextCtrl *length_text = new wxTextCtrl(this, -1, wxString::Format(_T("%d frames (%s)"), framecount, PrettyTimeStamp(framecount, fps).c_str()), wxDefaultPosition, wxDefaultSize, wxTE_READONLY); - wxTextCtrl *decoder_text = new wxTextCtrl(this, -1, vprovider->GetDecoderName(), wxDefaultPosition, wxDefaultSize, wxTE_READONLY); + wxTextCtrl *decoder_text = new wxTextCtrl(this, -1, vprovider->GetDecoderName().c_str(), wxDefaultPosition, wxDefaultSize, wxTE_READONLY); fg->Add(new wxStaticText(this, -1, _("File name:")), 0, wxALIGN_CENTRE_VERTICAL | wxEXPAND); fg->Add(fname_text, 0, wxALIGN_CENTRE_VERTICAL | wxEXPAND);