summaryrefslogtreecommitdiff
path: root/news/tin/files/patch-aa
blob: 676f512570affbb4b5c01ff40d4ec40b81ee39eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
*** src/screen.c.bak	Thu Oct 30 06:12:34 1997
--- src/screen.c	Tue Nov  4 10:39:41 1997
***************
*** 307,316 ****
  ring_bell (void)
  {
  #if USE_CURSES
! 	beep();
! #else
  	my_fputc ('\007', stdout);
  	my_flush();
  #endif
  }
  
--- 307,320 ----
  ring_bell (void)
  {
  #if USE_CURSES
! 	if (!cmd_line)
! 		beep();
! 	else {
! #endif
  	my_fputc ('\007', stdout);
  	my_flush();
+ #if USE_CURSES
+ 	}
  #endif
  }