From 0378201ec7c4ba240030db44d8aaebf023aa6e88 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 6 Sep 2008 20:36:47 +0000 Subject: MT32 emu: eof -> eos svn-id: r34390 --- sound/softsynth/mt32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp index a52401bef1..3e3f9d91ff 100644 --- a/sound/softsynth/mt32.cpp +++ b/sound/softsynth/mt32.cpp @@ -98,7 +98,7 @@ public: } bool readBit8u(MT32Emu::Bit8u *in) { byte b = _in.readByte(); - if (_in.eof()) + if (_in.eos()) return false; *in = b; return true; @@ -111,7 +111,7 @@ public: return !_out.ioFailed(); } bool isEOF() { - return _in.isOpen() ? _in.eof() : _out.eof(); + return _in.isOpen() && _in.eos(); } }; -- cgit v1.2.3