mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 02:38:19 +00:00
Remove NUL macro
This commit is contained in:

committed by
Thiago de Arruda

parent
046debb935
commit
2e4613aecc
@@ -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.
|
||||
|
Reference in New Issue
Block a user