]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dispatcher.cc
Implements script-accidental collision avoidance for Scripts created by the New_finge...
[lilypond.git] / lily / dispatcher.cc
index 0e3ad8998e842031d02d4a6bc7aca4feac65f247..e1699e6b6d47def7578b14d57a03a6380fefc98e 100644 (file)
@@ -77,7 +77,7 @@ Dispatcher::dispatch (SCM sev)
 {
   Stream_event *ev = unsmob_stream_event (sev);
   SCM class_symbol = ev->get_property ("class");
-  if (!scm_symbol_p (class_symbol))
+  if (!scm_is_symbol (class_symbol))
     {
       warning (_ ("Event class should be a symbol"));
       return;
@@ -167,8 +167,8 @@ Dispatcher::dispatch (SCM sev)
 
 #if 0
   /* TODO: Uncomment. */
-    if (!sent)
-      warning (_f ("Junking event: %s", ly_symbol2string (class_symbol).c_str ()));
+  if (!sent)
+    warning (_f ("Junking event: %s", ly_symbol2string (class_symbol).c_str ()));
 #endif
 }