Fix typo in package utf8; add wchar_t to package c

This commit is contained in:
gingerBill
2019-10-27 08:34:20 +00:00
parent 2db16d6a32
commit 0977ac111a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ rune_at_pos :: proc(s: string, pos: int) -> rune {
}
i := 0;
for c in s {
for r in s {
if i == pos {
return r;
}