From a50b3681c895b7a767b9175f46a6e689e4f2d14e Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 9 Feb 2025 19:44:40 +0100 Subject: [PATCH] calc_drawing_bbox(): initialize xctx->show_hidden_texts before calculating bbox. --- src/actions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions.c b/src/actions.c index 99d2710a..b7a0b00d 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2592,6 +2592,7 @@ void calc_drawing_bbox(xRect *boundbox, int selected) #endif char *estr = NULL; + xctx->show_hidden_texts = tclgetboolvar("show_hidden_texts"); boundbox->x1=-100; boundbox->x2=100; boundbox->y1=-100;