X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftranslator.icc;h=53697b38e63d4eb0040738c11f8137b27963449b;hb=0b544cfb7332615ef809b71b57ab656741311ae1;hp=7bab0cfa74e848f13568a43d9b58f955ad7303b5;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/include/translator.icc b/lily/include/translator.icc index 7bab0cfa74..53697b38e6 100644 --- a/lily/include/translator.icc +++ b/lily/include/translator.icc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2012 Han-Wen Nienhuys + Copyright (C) 2005--2014 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 @@ -36,8 +36,8 @@ static void _ ## T ## _adder () \ { \ T *t = new T; \ - T::static_description_ = t->static_translator_description (); \ - scm_permanent_object (T::static_description_); \ + T::static_description_ = \ + scm_permanent_object (t->static_translator_description ()); \ add_translator (t); \ } \ SCM T::translator_description () const \