added argument to initUsage.
[swftools.git] / lib / example / glyphshape.c
index 6d9f2f2..28f475d 100644 (file)
@@ -90,7 +90,7 @@ int main(int argc, char ** argv)
   FONTUSAGE use;\r
   SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here\r
 \r
-  swf_FontInitUsage(&use);\r
+  swf_FontInitUsage(font,&use);\r
   swf_FontUse(&use,s);        \r
   swf_FontReduce(font,&use);            // make sure that gid's point to the specific glyphs\r
   \r