diff options
author | pommicket <pommicket@gmail.com> | 2023-08-12 10:33:11 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-12 10:33:11 -0300 |
commit | a974b6192479e5f7f6d6fcc328313c76290f486d (patch) | |
tree | 01ec86dcbc22c94e43936efbda6673c19ed8a5e0 /node.c | |
parent | cca844b42a6303282e7536c8834b74ff56140cbf (diff) |
internalize buffer - broke some stuff
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -310,7 +310,7 @@ void node_frame(Ted *ted, Node *node, Rect r) { { if (buffer_unsaved_changes(buffer)) strbuf_printf(tab_title, "*%s*", filename); - else if (buffer->view_only) + else if (buffer_is_view_only(buffer)) strbuf_printf(tab_title, "VIEW %s", filename); else strbuf_printf(tab_title, "%s", filename); |