aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glob.c')
-rw-r--r--src/glob.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glob.c b/src/glob.c
index 24f2647..cb571c4 100644
--- a/src/glob.c
+++ b/src/glob.c
@@ -607,8 +607,7 @@ teco_state_glob_filename_done(teco_machine_main_t *ctx, teco_string_t str, GErro
undo__teco_interface_ssm(SCI_UNDO, 0, 0);
}
- if (!glob_reg->vtable->undo_set_integer(glob_reg, error) ||
- !glob_reg->vtable->set_integer(glob_reg, teco_bool(matching), error))
+ if (!glob_reg->vtable->set_integer(glob_reg, teco_bool(matching), error))
return NULL;
return &teco_state_start;