aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-06 21:22:02 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-06 21:22:02 -0400
commit97cdfdcde24c6a804f879b6464512008db4b5cef (patch)
tree3707321b4560e6d8b7d85d19a624ffdeaa374108 /src/nvim/diff.c
parent09232958ff9c7d4737701160549c8d64a0f92856 (diff)
downloadrneovim-97cdfdcde24c6a804f879b6464512008db4b5cef.tar.gz
rneovim-97cdfdcde24c6a804f879b6464512008db4b5cef.tar.bz2
rneovim-97cdfdcde24c6a804f879b6464512008db4b5cef.zip
Remove dead code
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r--src/nvim/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 34cac5a098..31552929dc 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -723,7 +723,7 @@ static int diff_write_buffer(buf_T *buf, diffin_T *din)
char_u cbuf[MB_MAXBYTES + 1];
c = PTR2CHAR(s);
- c = enc_utf8 ? utf_fold(c) : TOLOWER_LOC(c);
+ c = utf_fold(c);
orig_len = utfc_ptr2len(s);
if (utf_char2bytes(c, cbuf) != orig_len) {
// TODO(Bram): handle byte length difference