diff src/sound.c @ 3731:af0d2950b72a

[xemacs-hg @ 2006-12-09 18:44:47 by vins] Fix type in call to GTK_DEVICE.
author vins
date Sat, 09 Dec 2006 18:44:48 +0000
parents 4bcad369dfd4
children fb73a2046d3e
line wrap: on
line diff
--- a/src/sound.c	Fri Dec 08 22:51:11 2006 +0000
+++ b/src/sound.c	Sat Dec 09 18:44:48 2006 +0000
@@ -590,7 +590,7 @@
 static void
 init_native_sound (struct device *d)
 {
-  if (!(DEVICE_X_P(d) || DEVICE_GTK_P(dev)))
+  if (!(DEVICE_X_P(d) || DEVICE_GTK_P(d)))
     DEVICE_ON_CONSOLE_P (d) = 1;
 #ifdef HAVE_X_WINDOWS
   else