fix a crash when saving screenshots with a non-english locale set. patch by Manta.

Originally committed to SVN as r2326.
This commit is contained in:
Karl Blomster 2008-09-06 09:33:14 +00:00
parent 02ce1e72df
commit dafc9dfe73
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ GLuint VideoContext::GetFrameAsTexture(int n) {
// Save snapshot
void VideoContext::SaveSnapshot(bool raw) {
// Get folder
wxString option = Options.AsText(_("Video Screenshot Path"));
wxString option = Options.AsText(_T("Video Screenshot Path"));
wxFileName videoFile(videoName);
wxString basepath;
// Is it a path specifier and not an actual fixed path?