diff options
Diffstat (limited to 'tags.c')
-rw-r--r-- | tags.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ static bool is_source_file(char const *filename) { static void tags_generate_at_dir(Ted *ted, bool run_in_build_window, const char *dir, int depth) { - Settings const *settings = ted->settings; + Settings const *settings = ted_active_settings(ted); if (depth >= settings->tags_max_depth) { return; } @@ -385,7 +385,7 @@ static void tag_selector_close(Ted *ted) { // returns tag selected (should be free'd), or NULL if none was. static char *tag_selector_update(Ted *ted) { Selector *sel = &ted->tag_selector; - u32 color = ted->settings->colors[COLOR_TEXT]; + u32 color = ted_color(ted, COLOR_TEXT); sel->enable_cursor = true; // create selector entries based on search term |