summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-07 19:08:17 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-07 19:08:17 -0500
commite802f33329f5c9c2a0630693d42c737d4b75b409 (patch)
treef8be266956a39882c6aa53b978ce25ff9b3dfdef /menu.c
parent4bfae2f646237d21d2ab2714241fe5273759526c (diff)
improved text rendering, started find
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 8600136..60bdd7a 100644
--- a/menu.c
+++ b/menu.c
@@ -234,10 +234,11 @@ static void menu_render(Ted *ted, Menu menu) {
if (menu == MENU_OPEN) {
- text_render(font_bold, "Open...", menu_x1, menu_y1, colors[COLOR_TEXT]);
+ text_utf8(font_bold, "Open...", menu_x1, menu_y1, colors[COLOR_TEXT]);
} else if (menu == MENU_SAVE_AS) {
- text_render(font_bold, "Save as...", menu_x1, menu_y1, colors[COLOR_TEXT]);
+ text_utf8(font_bold, "Save as...", menu_x1, menu_y1, colors[COLOR_TEXT]);
}
+ text_render(font_bold);
menu_y1 += char_height_bold * 0.75f + padding;