From d8580be73972acd6ee933576116cfa57c0de9b1e Mon Sep 17 00:00:00 2001 From: "R. Timothy Edwards" Date: Tue, 26 May 2026 17:01:45 -0400 Subject: [PATCH] Corrected a problem caused by fixing the "select visible" command with respect to visible/invisible labels and cells. The change inadvertently made the "select area" command option stop selecting labels on the same type as the layers being selected. This has been fixed. --- VERSION | 2 +- commands/CmdRS.c | 3 +++ select/selCreate.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index ddaa2049..b84f4469 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.650 +8.3.651 diff --git a/commands/CmdRS.c b/commands/CmdRS.c index 4ed1f16b..89f30ace 100644 --- a/commands/CmdRS.c +++ b/commands/CmdRS.c @@ -647,6 +647,9 @@ cmdSelectArea( if (!(crec->dbw_flags & DBW_SEELABELS)) TTMaskClearType(&mask, L_LABEL); if (!(crec->dbw_flags & DBW_SEECELLS)) TTMaskClearType(&mask, L_CELL); } + else if (option == SEL_AREA) + TTMaskSetType(&mask, L_LABEL); + SelectArea(&scx, &mask, crec->dbw_bitmask, globmatch); } diff --git a/select/selCreate.c b/select/selCreate.c index 571714af..9bf27051 100644 --- a/select/selCreate.c +++ b/select/selCreate.c @@ -834,6 +834,8 @@ chunkdone: if (DBIsContact(type)) TTMaskSetOnlyType(&typeMask, type); + /* Allow labels to be selected as part of the chunk */ + TTMaskSetType(&typeMask, L_LABEL); SelectArea(&newscx, &typeMask, xMask, NULL); }