* Stream: update in doc, fix in code.

* wxMMedia: various fixes, WAV and AIFF should work on Linux, preparing it
    for Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-02-14 17:46:47 +00:00
parent 20239453d5
commit 9fc0fe377b
10 changed files with 109 additions and 85 deletions

View File

@@ -251,8 +251,8 @@ void wxStreamBuffer::PutChar(char c)
return;
}
if (!GetDataLeft() && !FlushBuffer()) {
CHECK_ERROR(wxStream_READ_ERR);
if (GetDataLeft() == 0 && !FlushBuffer()) {
CHECK_ERROR(wxStream_WRITE_ERR);
return;
}