mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
bitch when no CSRI provider was found
Originally committed to SVN as r1014.
This commit is contained in:
parent
f59df9233d
commit
89d62b85f5
@ -47,9 +47,6 @@
|
||||
|
||||
///////////////////
|
||||
// Link to library
|
||||
#if __VISUALC__ >= 1200
|
||||
#pragma comment(lib,"asa.lib")
|
||||
#endif
|
||||
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
@ -114,6 +111,8 @@ void CSRISubtitlesProvider::LoadSubtitles(AssFile *subs) {
|
||||
renderer = csri_renderer_default();
|
||||
if (renderer)
|
||||
instance = csri_open_mem(renderer,&data[0],data.size(),NULL);
|
||||
else
|
||||
throw _T("No CSRI renderer available. Try installing one or switch to another subtitle provider.");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user