Cleanup OpenTypeFontFile
diff --git a/src/main.cc b/src/main.cc
index b2aee2b..b4123b5 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -63,7 +63,7 @@
 
   const OpenTypeFontFile &ot = OpenTypeFontFile::get_for_data (font_data);
 
-  switch (ot.tag) {
+  switch (ot.get_tag ()) {
   case OpenTypeFontFile::TrueTypeTag:
     printf ("OpenType font with TrueType outlines\n");
     break;