summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-02 18:25:34 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-02 18:25:34 +0200
commitee2615af64fdcee87d8e4b13b65356e77fbd969b (patch)
tree7a5c73269bef363fe0bf16bb257787c933f7ae17 /src/charset.c
parent361c8f0e517e41f1f1d34dae328044406fde80ac (diff)
downloadvim-git-ee2615af64fdcee87d8e4b13b65356e77fbd969b.tar.gz
patch 7.4.1981v7.4.1981
Problem: No testing for Farsi code. Solution: Add a minimal test. Clean up Farsi code.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index 9fcd88cb9..c9957eed5 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -571,7 +571,7 @@ transchar(int c)
(c >= ' ' && c <= '~')
#endif
#ifdef FEAT_FKMAP
- || F_ischar(c)
+ || (p_altkeymap && F_ischar(c))
#endif
)) || (c < 256 && vim_isprintc_strict(c)))
{