mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r306.
This commit is contained in:
parent
c57d6fe5e1
commit
3a0112539e
|
@ -101,7 +101,7 @@ PVideoFrame __stdcall DrawPRS::GetFrame(int n, IScriptEnvironment* env) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Catch exception
|
// Catch exception
|
||||||
catch (std::exception e) {
|
catch (const std::exception &e) {
|
||||||
env->ThrowError(e.what());
|
env->ThrowError(e.what());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue