Gareth pointed out yesterday that the Unix terminal front end treats
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Feb 2007 13:36:11 +0000 (13:36 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Feb 2007 13:36:11 +0000 (13:36 +0000)
BELL_DISABLED as BELL_DEFAULT. How embarrassing.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7316 cda61777-01e9-0310-a592-d414129be87e

unix/gtkwin.c

index 03ecc35..311cf38 100644 (file)
@@ -1867,7 +1867,7 @@ void sys_cursor(void *frontend, int x, int y)
  */
 void do_beep(void *frontend, int mode)
 {
-    if (mode != BELL_VISUAL)
+    if (mode == BELL_DEFAULT)
        gdk_beep();
 }