From f536033eab046128b83c035092183bb97e76325f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 30 Apr 2022 19:06:41 +0200 Subject: [PATCH] :art: Small esape fix --- src/emit/escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emit/escape.c b/src/emit/escape.c index d58b15d9..8a5b4132 100644 --- a/src/emit/escape.c +++ b/src/emit/escape.c @@ -50,7 +50,7 @@ m_bool escape_str(const Emitter emit, const m_str base, const loc_t pos) { return GW_ERROR; } } - } else if (c == 'x' || c == 'x' || c == 'u' || c == 'U') { + } else if (c == 'x' || c == 'X' || c == 'u' || c == 'U') { ++str_lit; const unsigned char c1 = *(str_lit); const unsigned char c3 = *(str_lit + 1); -- 2.43.0