瀏覽代碼

Fix random typo

gingerBill 1 年之前
父節點
當前提交
2999c02f65
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {
 contains_space :: proc(s: string) -> (res: bool) {
 	for c in s {
 	for c in s {
-		if is_space(r) {
+		if is_space(c) {
 			return true
 			return true
 		}
 		}
 	}
 	}