From 64148cb65a1faa25f1b6af5a42ba821d8931ec0d Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 5 Feb 2026 09:46:16 +0000 Subject: [PATCH 1/2] Add break to WriteHTMLFile func --- src/games/writer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/games/writer.cc b/src/games/writer.cc index 744f3efad..47baedc1e 100644 --- a/src/games/writer.cc +++ b/src/games/writer.cc @@ -91,6 +91,7 @@ std::string WriteHTMLFile(const Game &p_game, const GamePlayer &p_rowPlayer, } theHtml += ""; + break; } theHtml += "\n"; return theHtml; From 83ccdb8504129a7c3b831fd0b3b7213cbb532733 Mon Sep 17 00:00:00 2001 From: Theodore Turocy Date: Mon, 9 Feb 2026 12:01:15 +0000 Subject: [PATCH 2/2] Correct regression in restricting a StrategySupportProfile. This corrects the implementation of StrategySupportProfile::RestrictTo(); the previous implementation was failing to set the (singleton) strategy list. --- src/games/stratspt.h | 1 + src/games/writer.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/games/stratspt.h b/src/games/stratspt.h index 22990aeb5..2084be032 100644 --- a/src/games/stratspt.h +++ b/src/games/stratspt.h @@ -156,6 +156,7 @@ class StrategySupportProfile { const int digit = p_strategy->GetNumber() - 1; StrategySupportProfile restricted(*this); restricted.m_strategyDigits.m_allowedDigits[player_index].assign(1, digit); + restricted.m_support.at(player) = {p_strategy}; return restricted; } //@} diff --git a/src/games/writer.cc b/src/games/writer.cc index 47baedc1e..744f3efad 100644 --- a/src/games/writer.cc +++ b/src/games/writer.cc @@ -91,7 +91,6 @@ std::string WriteHTMLFile(const Game &p_game, const GamePlayer &p_rowPlayer, } theHtml += ""; - break; } theHtml += "\n"; return theHtml;