summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-22 16:25:05 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-22 16:25:05 -0500
commit73a00e3b343526887579f698ca2db324cc4c7cee (patch)
tree213434234065c76e6fe0f8db9c1078937641989b /command.c
parent968bbd92cf9bf9cc364baa973d81f4dcfa647ca3 (diff)
bold text for file selector cwd
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.c b/command.c
index f5ceb0c..442989b 100644
--- a/command.c
+++ b/command.c
@@ -131,14 +131,14 @@ void command_execute(Ted *ted, Command c, i64 argument) {
i64 new_text_size = settings->text_size + argument;
if (new_text_size >= TEXT_SIZE_MIN && new_text_size <= TEXT_SIZE_MAX) {
settings->text_size = (u16)new_text_size;
- ted_load_font(ted);
+ ted_load_fonts(ted);
}
} break;
case CMD_TEXT_SIZE_DECREASE: {
i64 new_text_size = settings->text_size - argument;
if (new_text_size >= TEXT_SIZE_MIN && new_text_size <= TEXT_SIZE_MAX) {
settings->text_size = (u16)new_text_size;
- ted_load_font(ted);
+ ted_load_fonts(ted);
}
} break;