From 2f4a67be365609454665342328b72899c36878cf Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Thu, 17 Oct 2002 10:32:36 +0000 Subject: [PATCH] Remove unused enum. (do_compatibility_move): Rename ~/.mc.ext to ~/.mc/bindings. --- src/main.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main.c b/src/main.c index ccb745594..ea867362c 100644 --- a/src/main.c +++ b/src/main.c @@ -2124,11 +2124,6 @@ probably_finish_program (void) } } -enum { - GEOMETRY_KEY = -1, - NOWIN_KEY = -2 -}; - static void process_args (poptContext ctx, int c, const char *option_arg) { @@ -2367,7 +2362,7 @@ do_compatibility_move (char *mc_dir) move = do_mc_filename_rename (mc_dir, ".mc.ini", "ini"); move += do_mc_filename_rename (mc_dir, ".mc.hot", "hotlist"); - move += do_mc_filename_rename (mc_dir, ".mc.ext", "ext"); + move += do_mc_filename_rename (mc_dir, ".mc.ext", "bindings"); move += do_mc_filename_rename (mc_dir, ".mc.menu", "menu"); move += do_mc_filename_rename (mc_dir, ".mc.bashrc", "bashrc"); move += do_mc_filename_rename (mc_dir, ".mc.inputrc", "inputrc"); @@ -2438,9 +2433,8 @@ main (int argc, char *argv []) if (!strcmp (p, ttyname (2))) dup2 (2, 1); else { - fprintf (stderr, - _("Couldn't open tty line. You have to run mc without the -P flag.\n" - "On some systems you may want to run # `which mc`\n")); + fputs (_("Couldn't open tty line. You have to run mc without the -P flag.\n" + "On some systems you may want to run # `which mc`\n"), stderr); exit (1); } g_free (p);