aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glob.c')
-rw-r--r--src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glob.c b/src/glob.c
index a69aa81..e338975 100644
--- a/src/glob.c
+++ b/src/glob.c
@@ -466,7 +466,7 @@ teco_state_glob_filename_done(teco_machine_main_t *ctx, const teco_string_t *str
GFileTest file_flags = G_FILE_TEST_EXISTS;
gboolean matching = FALSE;
- gboolean colon_modified = teco_machine_main_eval_colon(ctx);
+ gboolean colon_modified = teco_machine_main_eval_colon(ctx) > 0;
teco_int_t teco_test_mode;