diff options
author | pommicket <pommicket@gmail.com> | 2023-03-04 18:48:22 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-03-04 18:48:22 -0500 |
commit | 8a13f9fa37b5401c836e0ce8674cee5255512d5e (patch) | |
tree | fce7438f610e0c1c44b35763b756e62c3b5f2dc9 /syntax.c | |
parent | a8ecd337a1714653710d69a9fcaea8b354ffded8 (diff) |
new light style
also highlighting of POSIX types
Diffstat (limited to 'syntax.c')
-rw-r--r-- | syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1191,7 +1191,7 @@ static void syntax_highlight_cfg(SyntaxState *state, const char32_t *line, u32 l } if (!string && is_ted_cfg && line[0] == '%') { - memset(char_types, SYNTAX_PREPROCESSOR, line_len); + if (char_types) memset(char_types, SYNTAX_PREPROCESSOR, line_len); return; } |