From 723be3f16b1a5b182dbff4d4f5224140835dfd1b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 28 Nov 2019 00:42:09 +0100 Subject: [PATCH] fixed the highlights in variation menu --- goldberg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/goldberg.cpp b/goldberg.cpp index 209935d1..94018216 100644 --- a/goldberg.cpp +++ b/goldberg.cpp @@ -707,21 +707,21 @@ EX namespace gp { } #endif if(min_quality == 0 && min_quality_chess == 0) { - dialog::addBoolItem(XLAT("pure"), param == loc(1,0) && !IRREGULAR, 'a'); + dialog::addBoolItem(XLAT("pure"), univ_param() == loc(1,0) && !IRREGULAR, 'a'); dialog::lastItem().value = "GP(1,0)"; } if(min_quality_chess == 0) - dialog::addBoolItem(XLAT("bitruncated"), param == loc(1,1) && BITRUNCATED, 'b'); + dialog::addBoolItem(XLAT("bitruncated"), BITRUNCATED, 'b'); dialog::lastItem().value = S3 == 3 ? "GP(1,1)" : XLAT(BITRUNCATED ? "ON" : "OFF"); if(min_quality == 0 || min_quality_chess) { - dialog::addBoolItem(XLAT(S3 == 3 ? "chamfered" : "expanded"), param == loc(2,0), 'c'); + dialog::addBoolItem(XLAT(S3 == 3 ? "chamfered" : "expanded"), univ_param() == loc(2,0), 'c'); dialog::lastItem().value = "GP(2,0)"; } if(S3 == 3) { - dialog::addBoolItem(XLAT("2x bitruncated"), param == loc(3,0), 'd'); + dialog::addBoolItem(XLAT("2x bitruncated"), univ_param() == loc(3,0), 'd'); dialog::lastItem().value = "GP(3,0)"; } else {