X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Ftranslator.cc;h=d7931788c6b2e789d72f58da3920eae3fbec75b9;hb=c08b39b3b6d45d7517c69cc7d28442c4bcdcc789;hp=399ecce602e57f3323bc3ebf0cf1072337c5bc41;hpb=ddd59edaae68e71d5d3ea2576b3d0d25807fb500;p=lilypond.git diff --git a/lily/translator.cc b/lily/translator.cc index 399ecce602..d7931788c6 100644 --- a/lily/translator.cc +++ b/lily/translator.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2009 Han-Wen Nienhuys + Copyright (C) 1997--2010 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -186,7 +186,7 @@ Translator::add_translator_listener (translator_listener_record **listener_list, name = replace_all (&name, '_', '-'); name += "-event"; - SCM class_sym = scm_str2symbol (name.c_str ()); + SCM class_sym = scm_from_locale_symbol (name.c_str ()); add_listened_event_class (class_sym);