diff options
-rw-r--r-- | Userland/Libraries/LibAudio/WavLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibAudio/WavLoader.cpp b/Userland/Libraries/LibAudio/WavLoader.cpp index 23c013ef50..28c2fb8277 100644 --- a/Userland/Libraries/LibAudio/WavLoader.cpp +++ b/Userland/Libraries/LibAudio/WavLoader.cpp @@ -125,7 +125,7 @@ bool WavLoaderPlugin::parse_header() ok = false; } else { *m_stream >> value; - if (m_stream->has_any_error()) + if (m_stream->handle_any_error()) ok = false; } return value; @@ -139,7 +139,7 @@ bool WavLoaderPlugin::parse_header() ok = false; } else { *m_stream >> value; - if (m_stream->has_any_error()) + if (m_stream->handle_any_error()) ok = false; } return value; @@ -153,7 +153,7 @@ bool WavLoaderPlugin::parse_header() ok = false; } else { *m_stream >> value; - if (m_stream->has_any_error()) + if (m_stream->handle_any_error()) ok = false; } return value; |