aboutsummaryrefslogtreecommitdiff
path: root/src/farsi.c
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2014-04-29 21:56:49 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-29 17:51:09 -0300
commit2e4613aecc712eb5e893d341da5f571f932376d5 (patch)
tree41f6b1c751181319d88cc0fdb7aed61bf732701d /src/farsi.c
parent046debb9359c85e2f2bc5c6d9481dac0025c6a80 (diff)
downloadrneovim-2e4613aecc712eb5e893d341da5f571f932376d5.tar.gz
rneovim-2e4613aecc712eb5e893d341da5f571f932376d5.tar.bz2
rneovim-2e4613aecc712eb5e893d341da5f571f932376d5.zip
Remove NUL macro
Diffstat (limited to 'src/farsi.c')
-rw-r--r--src/farsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/farsi.c b/src/farsi.c
index ea9432ac8b..a68de6ca25 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() != NUL) {
+ && gchar_cursor() != '\0') {
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 != NUL)) {
+ if ((ibuf != NULL) && (*ibuf != '\0')) {
lrswapbuf(ibuf, (int)STRLEN(ibuf));
}
return ibuf;