summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
committerpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
commit176f0b1f52676bbcf61e5098e5cec400d52fc306 (patch)
tree7ab4e0bd76745ed2d84050d414637e1b72d41cb5 /menu.c
parent6d85a7e605011d16018fdf202e40e59e2f916b63 (diff)
auto-detect indentation
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 7c7f16f..dce442b 100644
--- a/menu.c
+++ b/menu.c
@@ -540,7 +540,7 @@ void menu_init(Ted *ted) {
ted_add_edit_notify(ted, menu_edit_notify, ted);
ted->command_selector = selector_new();
- for (Command c = 0; c < CMD_COUNT; ++c) {
+ for (Command c = 0; c < CMD_COUNT; ++c) {
const char *name = command_to_str(c);
if (c != CMD_UNKNOWN && *name) {
SelectorEntry entry = {
@@ -548,7 +548,7 @@ void menu_init(Ted *ted) {
};
selector_add_entry(ted->command_selector, &entry);
}
- }
+ }
MenuInfo save_as_menu = {
.open = save_as_menu_open,