summaryrefslogtreecommitdiff
path: root/test/allocator.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-04-06 23:23:46 +0200
committerAlbert Cervin <albert@acervin.com>2023-05-01 22:19:14 +0200
commita123725a12e948d78badb2cb686d38548f1c633b (patch)
treec92c46134ef5536fbbf3bf08983c4f0dea1aaf58 /test/allocator.c
parentb5ed4cf757afc50afb6ac499eee7b87a2648fa4c (diff)
downloaddged-a123725a12e948d78badb2cb686d38548f1c633b.tar.gz
dged-a123725a12e948d78badb2cb686d38548f1c633b.tar.xz
dged-a123725a12e948d78badb2cb686d38548f1c633b.zip
Implement window handling
Also implement searching. fix undo boundaries when it checked for other save point, it used && instead of == which caused it to overwrite other types. Fix bytes vs chars bug in text_get_region
Diffstat (limited to 'test/allocator.c')
-rw-r--r--test/allocator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/allocator.c b/test/allocator.c
index ca1a7a0..fe01334 100644
--- a/test/allocator.c
+++ b/test/allocator.c
@@ -1,8 +1,8 @@
+#include "dged/allocator.h"
+
#include "assert.h"
#include "test.h"
-#include "allocator.h"
-
void test_frame_allocator() {
struct frame_allocator fa = frame_allocator_create(128);