summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-02 12:48:04 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-02 12:48:04 +0100
commit5d0b25f99400ac6609e8f8b77d54db724e8bd8d9 (patch)
tree582af1be27348f9fb328268c0ae3cfdc8001ef3e
parent25c57584d1eda728edbf72660e932bf6135172eb (diff)
logical order
-rw-r--r--src/source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/source.cc b/src/source.cc
index 9bdd60d..30290f4 100644
--- a/src/source.cc
+++ b/src/source.cc
@@ -35,8 +35,8 @@ bool buffer_init(Buffer* buffer, const Allocator* allocator,
buffer->file = file;
buffer->content = content;
- buffer->link = {};
buffer->allocator = allocator;
+ buffer->link = {};
return true;
}