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.
Этот коммит содержится в:
родитель
77ca8735ab
Коммит
3a86b24a3e
@ -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);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user