diff options
Diffstat (limited to 'src/farsi.c')
-rw-r--r-- | src/farsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/farsi.c b/src/farsi.c index a68de6ca25..ea9432ac8b 100644 --- a/src/farsi.c +++ b/src/farsi.c @@ -952,7 +952,7 @@ int fkmap(int c) || gchar_cursor() == F_DIVIDE || gchar_cursor() == F_PERCENT || gchar_cursor() == F_EQUALS)) - && gchar_cursor() != '\0') { + && gchar_cursor() != NUL) { curwin->w_cursor.col++; } } else { @@ -2413,7 +2413,7 @@ static void lrswapbuf(char_u *buf, int len) /// @return The buffer with the characters swapped. char_u* lrswap(char_u *ibuf) { - if ((ibuf != NULL) && (*ibuf != '\0')) { + if ((ibuf != NULL) && (*ibuf != NUL)) { lrswapbuf(ibuf, (int)STRLEN(ibuf)); } return ibuf; |