mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix fallbacks for invalid characters when converting charsets
r6632 made ConverterImpl have a vtable, which makes the iconv_fallbacks parent no longer the first thing in the object, so add an explicit cast. Originally committed to SVN as r6639.
This commit is contained in:
parent
2d9213cdfc
commit
e6697b1923
@ -241,7 +241,7 @@ namespace {
|
||||
|
||||
int transliterate = 1;
|
||||
iconvctl(cd, ICONV_SET_TRANSLITERATE, &transliterate);
|
||||
iconvctl(cd, ICONV_SET_FALLBACKS, this);
|
||||
iconvctl(cd, ICONV_SET_FALLBACKS, static_cast<iconv_fallbacks*>(this));
|
||||
}
|
||||
}
|
||||
~ConverterImpl() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user