diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 19:58:15 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 19:58:15 -0400 |
commit | ba337edceb8cb5cc32d1d5cf71437e8d885cf45f (patch) | |
tree | 5cfca26e4f6454afd4c930d745bf0fb73a6b3970 /syntax.c | |
parent | c97c44d84550acdda34b07781d5b5ffab08d5336 (diff) |
fix windows build, prepare for v. 1.0
Diffstat (limited to 'syntax.c')
-rw-r--r-- | syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -903,7 +903,7 @@ static void syntax_highlight_html(SyntaxState *state, char32_t const *line, u32 } else if (in_sgl_string || in_dbl_string) { if (char_types) char_types[i] = SYNTAX_STRING; - if (line[i] == (in_sgl_string ? '\'' : '"') && backslashes % 2 == 0) + if (line[i] == (char32_t)(in_sgl_string ? '\'' : '"') && backslashes % 2 == 0) in_sgl_string = in_dbl_string = false; } else { if (char_types) char_types[i] = SYNTAX_NORMAL; |