summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/buffer.c b/buffer.c
index 39bc1dd..379bda1 100644
--- a/buffer.c
+++ b/buffer.c
@@ -207,8 +207,7 @@ BufferPos buffer_pos_end_of_file(TextBuffer *buffer) {
return (BufferPos){.line = buffer->nlines - 1, .index = buffer->lines[buffer->nlines-1].len};
}
-// Get the font used for this buffer.
-static Font *buffer_font(TextBuffer *buffer) {
+Font *buffer_font(TextBuffer *buffer) {
return buffer->ted->font;
}