aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-03-02 02:33:36 +0100
committerGitHub <noreply@github.com>2019-03-02 02:33:36 +0100
commited4132d7e9a7a3bda21c35119ce221146493e986 (patch)
tree898591a424f3ea3fd91e0adac6d19c881c258e64 /src/nvim/ops.c
parent708176aea18e236b7ebc96a3f51dae22b366cc12 (diff)
downloadrneovim-ed4132d7e9a7a3bda21c35119ce221146493e986.tar.gz
rneovim-ed4132d7e9a7a3bda21c35119ce221146493e986.tar.bz2
rneovim-ed4132d7e9a7a3bda21c35119ce221146493e986.zip
cleanup: remove legacy `enc_dbcs` global #9660
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 674a9244f0..9d9ee0c9e3 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -1974,8 +1974,6 @@ int swapchar(int op_type, pos_T *pos)
inc(pos);
}
- if (enc_dbcs != 0 && c >= 0x100) /* No lower/uppercase letter */
- return FALSE;
nc = c;
if (mb_islower(c)) {
if (op_type == OP_ROT13) {