Improve formatting

This commit is contained in:
gingerBill
2024-10-11 14:48:55 +01:00
parent 16eac6c844
commit 8006ba919e
+1 -1
View File
@@ -2048,7 +2048,7 @@ buddy_block_find_best :: proc(head, tail: ^Buddy_Block, size: uint) -> ^Buddy_Bl
// to pick the buddy as it "bounces around" less // to pick the buddy as it "bounces around" less
best_block = buddy best_block = buddy
} }
if (block.size <= buddy.size) { if block.size <= buddy.size {
block = buddy_block_next(buddy) block = buddy_block_next(buddy)
if (block < tail) { if (block < tail) {
// Delay the buddy block for the next iteration // Delay the buddy block for the next iteration