forked from mia/Aegisub
Revert r3462, this is the same issue as described in r3466. Someone on windows will need to sort this out.
Originally committed to SVN as r3470.
This commit is contained in:
parent
65d2eda681
commit
bf275da4de
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ wchar_t TextFileReader::GetWChar() {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
size_t ret = iconv(conv, (const char**)&inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
|
size_t ret = iconv(conv, &inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
|
||||||
if (ret != (size_t)-1) break;
|
if (ret != (size_t)-1) break;
|
||||||
|
|
||||||
int err = errno;
|
int err = errno;
|
||||||
|
|
Loading…
Reference in a new issue