]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Gareth pointed out yesterday that the Unix terminal front end treats
authorSimon Tatham <anakin@pobox.com>
Sat, 24 Feb 2007 13:36:11 +0000 (13:36 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 24 Feb 2007 13:36:11 +0000 (13:36 +0000)
BELL_DISABLED as BELL_DEFAULT. How embarrassing.

[originally from svn r7316]

unix/gtkwin.c

index 03ecc35a65da1baa99fe8152279d64e22a3dbb95..311cf38af62db02ef9a4f0f035695fd8452cff32 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();
 }