Move initialization of SLtt_Ignore_Beep variable from src/main.c into src/tty/tty-slang.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-09-25 13:14:10 +03:00
parent 1d4318a2be
commit d2d3ebf758
2 changed files with 1 additions and 4 deletions

View File

@ -2075,10 +2075,6 @@ main (int argc, char *argv[])
edit_stack_init ();
#endif
#ifdef HAVE_SLANG
SLtt_Ignore_Beep = 1;
#endif
if ( !mc_args_handle (&argc, &argv, "mc"))
return 1;
mc_main__setup_by_args(argc,argv);

View File

@ -245,6 +245,7 @@ tty_init (gboolean slow, gboolean ugly_lines)
slow_tty = slow;
ugly_line_drawing = ugly_lines;
SLtt_Ignore_Beep = 1;
SLtt_get_terminfo ();
SLutf8_enable (-1);
/*