summaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-07-29 14:29:36 -0400
committerpommicket <pommicket@gmail.com>2022-07-29 14:33:32 -0400
commitab65fe136f7a8739b78aaa4801a9fb761a301417 (patch)
treed9193726574c6ed7884562ad2c376bef48905b58 /find.c
parent00fce97eb96fc2f1c1bfd8daf4f795ff36cf98c0 (diff)
per-language settings
also fixed ctrl+/ in go
Diffstat (limited to 'find.c')
-rw-r--r--find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/find.c b/find.c
index d4a24c4..d5cdfce 100644
--- a/find.c
+++ b/find.c
@@ -70,7 +70,7 @@ static void find_free_pattern(Ted *ted) {
static float find_menu_height(Ted *ted) {
Font *font = ted->font;
float char_height = text_font_char_height(font);
- Settings const *settings = &ted->settings;
+ Settings const *settings = ted->settings;
float const padding = settings->padding;
float const border_thickness = settings->border_thickness;
float const line_buffer_height = ted_line_buffer_height(ted);
@@ -315,7 +315,7 @@ static void find_menu_frame(Ted *ted, Rect menu_bounds) {
Font *font = ted->font, *font_bold = ted->font_bold;
float const char_height = text_font_char_height(font);
- Settings const *settings = &ted->settings;
+ Settings const *settings = ted->settings;
float const padding = settings->padding;
float const border_thickness = settings->border_thickness;
u32 const *colors = settings->colors;