forked from mia/Aegisub
Fix compilation error in auto4_lua_scriptreader.cpp
This commit is contained in:
parent
a9f83663e8
commit
890379bb86
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace Automation4 {
|
|||
|
||||
conv->Convert(&in, &in_bytes, &out, &out_bytes);
|
||||
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;
|
||||
|
||||
// Skip the bom
|
||||
|
|
Loading…
Reference in a new issue