* 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user