mirror of https://github.com/odrling/Aegisub
Fix compilation error
This commit is contained in:
parent
ec07db2615
commit
1f93280376
|
@ -51,7 +51,7 @@ namespace Automation4 {
|
||||||
|
|
||||||
conv->Convert(&in, &in_bytes, &out, &out_bytes);
|
conv->Convert(&in, &in_bytes, &out, &out_bytes);
|
||||||
if (in_bytes > 0 && in != in_buf)
|
if (in_bytes > 0 && in != in_buf)
|
||||||
file.seekg(-(std::streamoff)in_bytes, std::ios_base::cur);
|
file->seekg(-(std::streamoff)in_bytes, std::ios_base::cur);
|
||||||
*bytes_read = out - buf;
|
*bytes_read = out - buf;
|
||||||
|
|
||||||
// Skip the bom
|
// Skip the bom
|
||||||
|
|
Loading…
Reference in New Issue