0d35155812
May still be broken a little bit; I'll fix any possible bugs soon.
22 lines
657 B
Plaintext
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])
|
|
{
|