openbsd-ports/print/lilypond/patches/patch-lily_ttf_cc
kili 0d35155812 Update to 2.12.2, following the guile update.
May still be broken a little bit; I'll fix any possible bugs
soon.
2009-10-11 18:56:21 +00:00

22 lines
657 B
Plaintext

$OpenBSD: patch-lily_ttf_cc,v 1.3 2009/10/11 18:56:21 kili Exp $
--- lily/ttf.cc.orig Mon Jan 19 01:04:57 2009
+++ lily/ttf.cc Wed Feb 11 18:46:44 2009
@@ -427,7 +427,7 @@ print_trailer (void *out,
if (!glyph_name[0] && ic_map.find (i) != ic_map.end ())
{
FT_ULong ucode = ic_map[i];
- get_unicode_name (glyph_name, ucode);
+ get_unicode_name (glyph_name, sizeof(glyph_name), ucode);
}
if (i == 0)
@@ -436,7 +436,7 @@ print_trailer (void *out,
glyph_name[0] = '\0';
if (!glyph_name[0])
- get_glyph_index_name (glyph_name, i);
+ get_glyph_index_name (glyph_name, sizeof(glyph_name), i);
if (glyph_name[0])
{