diff options
| -rw-r--r-- | src/dged/buffer.c | 1 | ||||
| -rw-r--r-- | src/main/main.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/dged/buffer.c b/src/dged/buffer.c index c34d314..7e9789a 100644 --- a/src/dged/buffer.c +++ b/src/dged/buffer.c @@ -606,6 +606,7 @@ void buffer_to_file(struct buffer *buffer) { void buffer_write_to(struct buffer *buffer, const char *filename) { buffer->filename = to_abspath(filename); + buffer->modified = true; buffer_to_file(buffer); } diff --git a/src/main/main.c b/src/main/main.c index 59a9a59..b14c6c0 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -20,7 +20,7 @@ #include "bindings.h" #include "cmds.h" -struct frame_allocator frame_allocator; +static struct frame_allocator frame_allocator; void *frame_alloc(size_t sz) { return frame_allocator_alloc(&frame_allocator, sz); |
