fixed library filename
[swftools.git] / lib / example / text.c
index 9a18985..120e2a1 100644 (file)
@@ -75,8 +75,8 @@ int main(int argc, char ** argv)
   if(definefont2)
       swf_FontAddLayout(font,0,0,0);
 
-  swf_FontInitUsage(&use);
-  swf_FontUse(&use,BANNER_TEXT);        // SWF reduces font information to the used glyphs
+  swf_FontInitUsage(font,&use);
+  swf_FontUse(font,&use,BANNER_TEXT);        // SWF reduces font information to the used glyphs
   swf_FontReduce(font,&use);  
     
   memset(&swf,0x00,sizeof(SWF));