diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-11-05 18:12:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-05 18:12:14 +0100 |
commit | 9147331e212e8d0fff0f30344007faffd42609ee (patch) | |
tree | 6d1853a72b94ce19ba0cc163c664a9a206da0091 /src/nvim/ops.c | |
parent | 32d9c19e294f38a6adae6e055fc606fc3fd33f2f (diff) | |
parent | 4ab3fe8eaadb5456eeafc49df2fb0ecf71d836cc (diff) | |
download | rneovim-9147331e212e8d0fff0f30344007faffd42609ee.tar.gz rneovim-9147331e212e8d0fff0f30344007faffd42609ee.tar.bz2 rneovim-9147331e212e8d0fff0f30344007faffd42609ee.zip |
Merge pull request #2905 from bfredl/utf8
Only allow encoding=utf-8 and simplify multibyte code
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 388a72adce..0263bd15da 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1936,8 +1936,7 @@ int swapchar(int op_type, pos_T *pos) if (c >= 0x80 && op_type == OP_ROT13) return FALSE; - if (op_type == OP_UPPER && c == 0xdf - && (enc_latin1like || STRCMP(p_enc, "iso-8859-2") == 0)) { + if (op_type == OP_UPPER && c == 0xdf) { pos_T sp = curwin->w_cursor; /* Special handling of German sharp s: change to "SS". */ |