Parcourir la source

Fix random typo

gingerBill il y a 1 an
Parent
commit
2999c02f65
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/strings/strings.odin

+ 1 - 1
core/strings/strings.odin

@@ -350,7 +350,7 @@ contains_any :: proc(s, chars: string) -> (res: bool) {
 
 contains_space :: proc(s: string) -> (res: bool) {
 	for c in s {
-		if is_space(r) {
+		if is_space(c) {
 			return true
 		}
 	}