summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index 7898c3c..47cfb19 100644
--- a/node.c
+++ b/node.c
@@ -187,7 +187,7 @@ static bool node_tab_close(Ted *ted, Node *node, u16 index) {
}
static void node_frame(Ted *ted, Node *node, Rect r) {
- Settings const *settings = &ted->settings;
+ Settings const *settings = ted_active_settings(ted);
if (node->tabs) {
bool is_active = node == ted->active_node;
u32 const *colors = settings->colors;