mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 16:48:18 +00:00
Fix typos
This commit is contained in:
+8
-8
@@ -116,14 +116,14 @@ write_encoded_rune :: proc(w: Writer, r: rune, write_quote := true, n_written: ^
|
||||
write_byte(w, '\'', &n) or_return
|
||||
}
|
||||
switch r {
|
||||
case '\a': write_string(w, `\a"`, &n) or_return
|
||||
case '\b': write_string(w, `\b"`, &n) or_return
|
||||
case '\e': write_string(w, `\e"`, &n) or_return
|
||||
case '\f': write_string(w, `\f"`, &n) or_return
|
||||
case '\n': write_string(w, `\n"`, &n) or_return
|
||||
case '\r': write_string(w, `\r"`, &n) or_return
|
||||
case '\t': write_string(w, `\t"`, &n) or_return
|
||||
case '\v': write_string(w, `\v"`, &n) or_return
|
||||
case '\a': write_string(w, `\a`, &n) or_return
|
||||
case '\b': write_string(w, `\b`, &n) or_return
|
||||
case '\e': write_string(w, `\e`, &n) or_return
|
||||
case '\f': write_string(w, `\f`, &n) or_return
|
||||
case '\n': write_string(w, `\n`, &n) or_return
|
||||
case '\r': write_string(w, `\r`, &n) or_return
|
||||
case '\t': write_string(w, `\t`, &n) or_return
|
||||
case '\v': write_string(w, `\v`, &n) or_return
|
||||
case:
|
||||
if r < 32 {
|
||||
write_string(w, `\x`, &n) or_return
|
||||
|
||||
Reference in New Issue
Block a user