diff options
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.h b/src/macros.h index 8dd412f838..7793ab326c 100644 --- a/src/macros.h +++ b/src/macros.h @@ -31,13 +31,13 @@ /* * lineempty() - return TRUE if the line is empty */ -#define lineempty(p) (*ml_get(p) == NUL) +#define lineempty(p) (*ml_get(p) == '\0') /* * bufempty() - return TRUE if the current buffer is empty */ #define bufempty() (curbuf->b_ml.ml_line_count == 1 && *ml_get((linenr_T)1) == \ - NUL) + '\0') /* * toupper() and tolower() that use the current locale. |