[Scummvm-git-logs] scummvm master -> 08c9869112f8013e68630e0e74ca8008726ce953
aquadran
noreply at scummvm.org
Wed Jul 23 17:13:18 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
08c9869112 WINTERMUTE: Small cleanup
Commit: 08c9869112f8013e68630e0e74ca8008726ce953
https://github.com/scummvm/scummvm/commit/08c9869112f8013e68630e0e74ca8008726ce953
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-07-23T19:13:13+02:00
Commit Message:
WINTERMUTE: Small cleanup
Changed paths:
engines/wintermute/coll_templ.h
engines/wintermute/video/video_theora_player.cpp
diff --git a/engines/wintermute/coll_templ.h b/engines/wintermute/coll_templ.h
index e3349e3ceaf..00504833f0d 100644
--- a/engines/wintermute/coll_templ.h
+++ b/engines/wintermute/coll_templ.h
@@ -36,7 +36,7 @@ namespace Wintermute {
/////////////////////////////////////////////////////////////////////////////
template<class TYPE>
-inline void dcConstructElements(TYPE *pElements, int32 nCount) {
+inline void dcConstructElements(TYPE *pElements, uint32 nCount) {
// first do bit-wise zero initialization
memset((void *)pElements, 0, nCount * sizeof(TYPE));
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 2ce3e1621ac..7efce56676a 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -90,6 +90,7 @@ void VideoTheoraPlayer::SetDefaults() {
VideoTheoraPlayer::~VideoTheoraPlayer() {
cleanup();
delete _subtitler;
+ _subtitler = nullptr;
}
//////////////////////////////////////////////////////////////////////////
More information about the Scummvm-git-logs
mailing list