lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] zap wrong assert() in lily/ttf.cc


From: Matthias Kilian
Subject: [patch] zap wrong assert() in lily/ttf.cc
Date: Mon, 21 May 2007 20:13:51 +0200
User-agent: Mutt/1.4.2.2i

[Applies to lilypond-2.10.25]

Seems like all you guys build with -DNDEBUG ;-)

That cur_chunk_idx isn't defined at this point of code.

Ciao,
        Kili


--- lily/ttf.cc.orig    Sat May 19 16:49:56 2007
+++ lily/ttf.cc Mon May 21 11:33:48 2007
@@ -174,7 +174,6 @@ void t42_write_table (void *out, FT_Face face, unsigne
          {
            chunks.push_back (last_offset - last_chunk);
            last_chunk = last_offset;
-           assert (cur_chunk_idx < 100);/* FIXME: only for static arrays */
          }
 
        last_offset = offset;

-- 
Unless your mouth is still frozen from a trip to the dentist, you
CANNOT utter the term "mibibyte" without feeling like an idiot.
                -- Kjell Wooding about IEC 60027-2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]