commit 3a86b24a3ecca3fd14359902782f2e6309cb6c66
parent 77ca8735ab8d23f9d4f9796f0f13aa378e23ce3f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 28 May 2021 16:18:46 +0200
tweaks: remove a check that is not needed
The die() has been there for more than a year and no one reported a
problem. And anyway, indenting does not create more than one group
-- this check was just to be certain.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -278,9 +278,6 @@ void handle_indent_action(undostruct *u, bool undoing, bool add_indent)
groupstruct *group = u->grouping;
linestruct *line = line_from_number(group->top_line);
- if (group->next != NULL)
- die("Multiple groups -- please report a bug\n");
-
/* When redoing, reposition the cursor and let the indenter adjust it. */
if (!undoing)
goto_line_posx(u->head_lineno, u->head_x);