diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-29 15:55:19 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-29 15:55:19 +0200 |
commit | 0974447f585a457ea7d68187db28bcec5aa269e2 (patch) | |
tree | 6f7cf38dc4ea9a17b1bc6125fcc69758cf535e34 /src/FileMgr.cpp | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
parent | fix (diff) | |
download | re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar.gz re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar.bz2 re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar.lz re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar.xz re3-0974447f585a457ea7d68187db28bcec5aa269e2.tar.zst re3-0974447f585a457ea7d68187db28bcec5aa269e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/FileMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileMgr.cpp b/src/FileMgr.cpp index d4e0b89b..954fcdef 100644 --- a/src/FileMgr.cpp +++ b/src/FileMgr.cpp @@ -265,10 +265,10 @@ CFileMgr::Seek(int fd, int offset, int whence) return !!myfseek(fd, offset, whence); } -char* +bool CFileMgr::ReadLine(int fd, char *buf, int len) { - return myfgets(buf, len, fd); + return myfgets(buf, len, fd) != nil; } int |