mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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
|
// Save snapshot
|
||||||
void VideoContext::SaveSnapshot(bool raw) {
|
void VideoContext::SaveSnapshot(bool raw) {
|
||||||
// Get folder
|
// Get folder
|
||||||
wxString option = Options.AsText(_("Video Screenshot Path"));
|
wxString option = Options.AsText(_T("Video Screenshot Path"));
|
||||||
wxFileName videoFile(videoName);
|
wxFileName videoFile(videoName);
|
||||||
wxString basepath;
|
wxString basepath;
|
||||||
// Is it a path specifier and not an actual fixed path?
|
// Is it a path specifier and not an actual fixed path?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user