diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 13:49:01 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 13:49:01 -0500 |
commit | 87b0da0d33d97abc0ba94ad18d988d370d09441b (patch) | |
tree | 741eb7c368bcbed02f245d84ff6b6285fb83cd4c /node.c | |
parent | 10d7f910e7b1cde3031ef27c851f9f7700d9b547 (diff) |
some ted.h documentation
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ void node_frame(Ted *ted, Node *node, Rect r) { for (u16 i = 0; i < ntabs; ++i) { TextBuffer *buffer = &ted->buffers[node->tabs[i]]; char tab_title[256]; - const char *path = buffer_get_filename(buffer); + const char *path = buffer->filename; const char *filename = path ? path_filename(path) : TED_UNTITLED; Rect tab_rect = rect(Vec2(r.pos.x + tab_width * i, r.pos.y), Vec2(tab_width, tab_bar_height)); |