diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/ast.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ast.odin b/src/common/ast.odin index 2a7a027..732c736 100644 --- a/src/common/ast.odin +++ b/src/common/ast.odin @@ -1003,7 +1003,7 @@ repeat :: proc( count: int, allocator := context.allocator, ) -> string { - if count == 0 { + if count <= 0 { return "" } return strings.repeat(value, count, allocator) |