From 6b8dc8a0cc00332173f2cbc80b4fb556ecb103b0 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 25 Oct 2023 14:44:28 -0400 Subject: [PATCH] Match MxVariableTable::SetVariable to 100% --- LEGO1/mxhashtable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/mxhashtable.h b/LEGO1/mxhashtable.h index b8bd42e7..f9a8df73 100644 --- a/LEGO1/mxhashtable.h +++ b/LEGO1/mxhashtable.h @@ -180,10 +180,10 @@ inline void MxHashTable::Resize() switch (m_resizeOption) { case HASH_TABLE_OPT_EXPAND_ADD: - m_numSlots = old_size + m_increaseAmount; + m_numSlots += m_increaseAmount; break; case HASH_TABLE_OPT_EXPAND_MULTIPLY: - m_numSlots = old_size * m_increaseFactor; + m_numSlots *= m_increaseFactor; break; }