mirror of https://github.com/odrling/Aegisub
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:
parent
02ce1e72df
commit
dafc9dfe73
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue