summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-04 21:39:13 -0400
committerpommicket <pommicket@gmail.com>2023-08-04 21:42:53 -0400
commit49ab483be3e7af88a3932a43f222aa42cacd3515 (patch)
tree9ad0157a22ed6cd9c54458b6c75ffa7eaa2253e7 /buffer.c
parentce199f9384f9f9376417110574a07cfd731e3a79 (diff)
document links seem to be working
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;
}