/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2004--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
return buffer;
}
else
- programming_error (_f ("Free type error: %s",
+ programming_error (_f ("FreeType error: %s",
freetype_error_string (error_code).c_str ()
));
if (SCM_HASHTABLE_P (lily_index_to_bbox_table_))
{
SCM box = scm_hashq_ref (lily_index_to_bbox_table_,
- scm_from_unsigned (signed_idx), SCM_BOOL_F);
+ scm_from_unsigned_integer (signed_idx), SCM_BOOL_F);
Box *box_ptr = Box::unsmob (box);
if (box_ptr)
return *box_ptr;
b.scale (point_constant);
scm_hashq_set_x (lily_index_to_bbox_table_,
- scm_from_unsigned (signed_idx),
+ scm_from_unsigned_integer (signed_idx),
b.smobbed_copy ());
return b;
}
return (size_t) iter->second;
else
{
- programming_error (_ ("Invalid index for character"));
+ programming_error ("Invalid index for character");
return 0;
}
}
which will trip errors more
quickly. --hwn.
*/
- scm_from_unsigned (1));
+ scm_from_unsigned_integer (1));
return scm_to_double (entry) * Real (point_constant);
}