Cosmetic changes

This commit is contained in:
Krzosa Karol
2022-09-27 14:57:10 +02:00
parent dda2252ca2
commit d39686c480
8 changed files with 18 additions and 18 deletions

View File

@@ -99,9 +99,9 @@ Print :: (string: String, args: ..)
buffer_len: S64
arg_counter := 0
for i := 0, i < length_of(string), i+=1
for i := 0, i < Length(string), i+=1
if string[i] == '%'
Assert(arg_counter < length_of(args), "Passing too many [%] to a print lambda")
Assert(arg_counter < Length(args), "Passing too many [%] to a print lambda")
arg := args[arg_counter++]
if arg.type == S64