diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-28 22:42:36 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | ef476ba298e52e96f981458784c1e7697a856ec7 (patch) | |
tree | b5f80e93276d4e46756fecef8b1b02f54d92bfb3 /firmware | |
parent | c8365b2bddbdb85a983efcab0485cb8587b90bb2 (diff) | |
download | rockbox-ef476ba298e52e96f981458784c1e7697a856ec7.tar.gz rockbox-ef476ba298e52e96f981458784c1e7697a856ec7.zip |
buflib: correct a confusingly indented comment
Change-Id: I9ef13d697c4abb81883d4a47273e69fcc2dafe37
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/buflib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/buflib.c b/firmware/buflib.c index 5b837aa439..dcef84d5c1 100644 --- a/firmware/buflib.c +++ b/firmware/buflib.c | |||
@@ -713,13 +713,13 @@ buflib_free(struct buflib_context *ctx, int handle_num) | |||
713 | } | 713 | } |
714 | else | 714 | else |
715 | { | 715 | { |
716 | /* Otherwise, set block to the newly-freed block, and mark it free, before | 716 | /* Otherwise, set block to the newly-freed block, and mark it free, |
717 | * continuing on, since the code below expects block to point to a free | 717 | * before continuing on, since the code below expects block to point |
718 | * block which may have free space after it. | 718 | * to a free block which may have free space after it. */ |
719 | */ | ||
720 | block = freed_block; | 719 | block = freed_block; |
721 | block->val = -block->val; | 720 | block->val = -block->val; |
722 | } | 721 | } |
722 | |||
723 | next_block = block - block->val; | 723 | next_block = block - block->val; |
724 | /* Check if we are merging with the free space at alloc_end. */ | 724 | /* Check if we are merging with the free space at alloc_end. */ |
725 | if (next_block == ctx->alloc_end) | 725 | if (next_block == ctx->alloc_end) |