basic/escape: octescape() doesn't really take 'bad' param

This commit is contained in:
Mike Yuan
2025-02-15 23:35:54 +01:00
committed by Yu Watanabe
parent 3aa0cf23b4
commit c7a097d7e1

View File

@@ -449,7 +449,7 @@ char* escape_non_printable_full(const char *str, size_t console_width, XEscapeFl
char* octescape(const char *s, size_t len) {
char *buf, *t;
/* Escapes all chars in bad, in addition to \ and " chars, in \nnn style escaping. */
/* Escapes \ and " chars, in \nnn style escaping. */
assert(s || len == 0);