Fix -vet for demo.odin

This commit is contained in:
gingerBill
2019-03-30 10:52:53 +00:00
parent 7580ec494b
commit a019059975
4 changed files with 9 additions and 10 deletions
+2 -2
View File
@@ -236,8 +236,8 @@ quote :: proc(buf: []byte, s: string) -> string {
write_byte(buf, &i, digits[s[0]&0xf]);
}
if i < len(buf) {
s := quote_rune(buf[i:], r);
i += len(s);
x := quote_rune(buf[i:], r);
i += len(x);
}
}
write_byte(buf, &i, c);