[Scummvm-git-logs] scummvm master -> 0b267b61df8f825e333aac111e169e21ef6e54f4
grisenti
noreply at scummvm.org
Wed Mar 8 14:59:20 UTC 2023
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:
0b267b61df HPL1: fix Std::Tree erase
Commit: 0b267b61df8f825e333aac111e169e21ef6e54f4
https://github.com/scummvm/scummvm/commit/0b267b61df8f825e333aac111e169e21ef6e54f4
Author: grisenti (emanuele at grisenti.net)
Date: 2023-03-08T15:58:13+01:00
Commit Message:
HPL1: fix Std::Tree erase
Changed paths:
engines/hpl1/std/tree.h
diff --git a/engines/hpl1/std/tree.h b/engines/hpl1/std/tree.h
index 9cc70d439f1..54d69141162 100644
--- a/engines/hpl1/std/tree.h
+++ b/engines/hpl1/std/tree.h
@@ -220,7 +220,7 @@ public:
if (v)
v->parent = u->parent;
if (u == _leftmost)
- _leftmost = v ? v : u->parent;
+ _leftmost = v ? leftmost(v) : u->parent;
--_size;
auto const ret = ++it;
delete u;
More information about the Scummvm-git-logs
mailing list