mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
h
This commit is contained in:
parent
0a1023c5ed
commit
d9347ca454
1 changed files with 2 additions and 2 deletions
|
|
@ -76,9 +76,9 @@ RB_METHOD(fileIntRead)
|
|||
if (length == -1)
|
||||
{
|
||||
Sint64 cur = SDL_TellIO(ops);
|
||||
Sint64 end = SDL_SeekIO(ops, 0, SEEK_END);
|
||||
Sint64 end = SDL_SeekIO(ops, 0, SDL_IO_SEEK_END);
|
||||
length = end - cur;
|
||||
SDL_SeekIO(ops, cur, SEEK_SET);
|
||||
SDL_SeekIO(ops, cur, SDL_IO_SEEK_SET);
|
||||
}
|
||||
|
||||
if (length == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue