shithub: orca

Download patch

ref: a1f235dee5bfd5ff13f0d5fa26809827bc6a4ba2
parent: c60f7a557cf24544a5d4048eb10bb8f5948ded9f
author: cancel <cancel@cancel.fm>
date: Sun Jan 12 10:19:45 EST 2020

Fix typo

--- a/tui_main.c
+++ b/tui_main.c
@@ -1918,7 +1918,7 @@
 };
 enum {
   Confirm_new_file_reject_id = 1,
-  Confirm_new_file_accep_id,
+  Confirm_new_file_accept_id,
 };
 enum {
   Main_menu_quit = 1,
@@ -1972,7 +1972,7 @@
   Qmenu* qm = qmenu_create(Confirm_new_file_menu_id);
   qmenu_set_title(qm, "Are you sure?");
   qmenu_add_choice(qm, Confirm_new_file_reject_id, "Cancel");
-  qmenu_add_choice(qm, Confirm_new_file_accep_id, "Create New File");
+  qmenu_add_choice(qm, Confirm_new_file_accept_id, "Create New File");
   qmenu_push_to_nav(qm);
 }
 
@@ -3199,7 +3199,7 @@
               case Confirm_new_file_reject_id:
                 qnav_stack_pop();
                 break;
-              case Confirm_new_file_accep_id: {
+              case Confirm_new_file_accept_id: {
                 Usz new_field_h, new_field_w;
                 if (ged_suggest_nice_grid_size(ged_state.win_h, ged_state.win_w,
                                                ged_state.softmargin_y,