Browse Source

Return the approprite constant in case OTF diverges from TTF in the future.

Jon Watte 10 years ago
parent
commit
b13f74b7d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/encoder/src/EncoderArguments.cpp

+ 1 - 1
tools/encoder/src/EncoderArguments.cpp

@@ -389,7 +389,7 @@ EncoderArguments::FileFormat EncoderArguments::getFileFormat() const
     }
     }
     if (ext.compare("otf") == 0)
     if (ext.compare("otf") == 0)
     {
     {
-        return FILEFORMAT_TTF;
+        return FILEFORMAT_OTF;
     }
     }
     if (ext.compare("gpb") == 0)
     if (ext.compare("gpb") == 0)
     {
     {