ref: 7e68ad481f8684cafa267114ffadd7ef7dc819ab
parent: 16afbe2d5fc850ede3d460c9ab1dd14977e8b397
author: David Turner <[email protected]>
date: Fri Mar 17 05:14:22 EST 2000
fix to compile with latest FreeType 2
--- a/demos/src/ttdebug.c
+++ b/demos/src/ttdebug.c
@@ -847,7 +847,7 @@
save.n_points );
save.cur = (TT_Vector*)malloc( 2 * sizeof( TT_F26Dot6 ) *
save.n_points );
- save.flags = (TT_Byte*)malloc( save.n_points );
+ save.tags = (TT_Byte*)malloc( save.n_points );
exc->instruction_trap = 1;
@@ -998,7 +998,7 @@
MEM_Copy( save.org, pts.org, pts.n_points * sizeof ( TT_Vector ) );
MEM_Copy( save.cur, pts.cur, pts.n_points * sizeof ( TT_Vector ) );
- MEM_Copy( save.flags, pts.flags, pts.n_points );
+ MEM_Copy( save.tags, pts.tags, pts.n_points );
/* a return indicate the last command */
if (ch == '\r')
@@ -1052,7 +1052,7 @@
if ( save.org[A].y != pts.org[A].y ) diff |= 2;
if ( save.cur[A].x != pts.cur[A].x ) diff |= 4;
if ( save.cur[A].y != pts.cur[A].y ) diff |= 8;
- if ( save.flags[A] != pts.flags[A] ) diff |= 16;
+ if ( save.tags[A] != pts.tags[A] ) diff |= 16;
if ( diff )
{
@@ -1059,7 +1059,7 @@
printf( "%02hx ", A );
if ( diff & 16 ) temp = "(%01hx)"; else temp = " %01hx ";
- printf( temp, save.flags[A] & 7 );
+ printf( temp, save.tags[A] & 7 );
if ( diff & 1 ) temp = "(%08lx)"; else temp = " %08lx ";
printf( temp, save.org[A].x );
@@ -1078,7 +1078,7 @@
printf( "%02hx ", A );
if ( diff & 16 ) temp = "[%01hx]"; else temp = " %01hx ";
- printf( temp, pts.flags[A] & 7 );
+ printf( temp, pts.tags[A] & 7 );
if ( diff & 1 ) temp = "[%08lx]"; else temp = " %08lx ";
printf( temp, pts.org[A].x );