[Scummvm-git-logs] scummvm branch-2-2 -> 7f695831e8ecf40a9ad2012646061d8934fdbd57
dreammaster
paulfgilbert at gmail.com
Mon Aug 31 05:16:13 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7f695831e8 GLK: Fix crash setting current stream to null
Commit: 7f695831e8ecf40a9ad2012646061d8934fdbd57
https://github.com/scummvm/scummvm/commit/7f695831e8ecf40a9ad2012646061d8934fdbd57
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-08-30T22:15:58-07:00
Commit Message:
GLK: Fix crash setting current stream to null
Changed paths:
engines/glk/streams.h
diff --git a/engines/glk/streams.h b/engines/glk/streams.h
index 2f43369493..de7eb9b576 100644
--- a/engines/glk/streams.h
+++ b/engines/glk/streams.h
@@ -645,7 +645,7 @@ public:
* Set the current output stream
*/
void setCurrent(Stream *stream) {
- assert(stream->_writable);
+ assert(!stream || stream->_writable);
_currentStream = stream;
}
More information about the Scummvm-git-logs
mailing list