fixed CFileMgr, the craziest bug i ever had
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user