diff options
| author | Bram Moolenaar <Bram@vim.org> | 2015-01-22 22:40:20 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2015-01-22 22:40:20 +0100 |
| commit | eea478f885ab2fb4185053f1093d05b83bbdf5e1 (patch) | |
| tree | e7f25f161c12360351e8d81e73d618576e967373 /src/edit.c | |
| parent | 1ec4dd41de276260cd1d934b8033804f2d2f0435 (diff) | |
| download | vim-git-eea478f885ab2fb4185053f1093d05b83bbdf5e1.tar.gz | |
updated for version 7.4.590v7.4.590
Problem: Using ctrl_x_mode as if it contains flags.
Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi)
Diffstat (limited to 'src/edit.c')
| -rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 13faafeb7..2a7958217 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3394,7 +3394,7 @@ ins_compl_bs() * allow the word to be deleted, we won't match everything. */ if ((int)(p - line) - (int)compl_col < 0 || ((int)(p - line) - (int)compl_col == 0 - && (ctrl_x_mode & CTRL_X_OMNI) == 0)) + && ctrl_x_mode != CTRL_X_OMNI)) return K_BS; /* Deleted more than what was used to find matches or didn't finish |
