mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
globals: Do not use false
for enc_dbcs
Based on screen.c code this value is not a boolean, so `false` is not appropriate. It should be either 0 or one of DBCS_… values.
This commit is contained in:
@@ -710,7 +710,7 @@ EXTERN int vr_lines_changed INIT(= 0); /* #Lines changed by "gR" so far */
|
||||
// mbyte flags that used to depend on 'encoding'. These are now deprecated, as
|
||||
// 'encoding' is always "utf-8". Code that use them can be refactored to
|
||||
// remove dead code.
|
||||
#define enc_dbcs false
|
||||
#define enc_dbcs 0
|
||||
#define enc_utf8 true
|
||||
#define has_mbyte true
|
||||
|
||||
|
Reference in New Issue
Block a user