]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/tfm.c
Split API documentation into libdocument, libview and shell. Required
[evince.git] / backend / dvi / mdvi-lib / tfm.c
index 3779c6b4a03ab222f0cb1f9c360e5125364509f4..969ef803490522e2a35a6651aea64f254faecc4a 100644 (file)
@@ -16,6 +16,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
@@ -174,9 +175,9 @@ static int tfm_load_font(DviParams *params, DviFont *font)
                return -1;
                        
        if(tfm->checksum && font->checksum && tfm->checksum != font->checksum) {
-               warning(_("%s: Checksum mismatch (got %u, expected %u)\n"),
-                       font->fontname, (unsigned)tfm->checksum, 
-                       (unsigned)font->checksum);
+               mdvi_warning(_("%s: Checksum mismatch (got %u, expected %u)\n"),
+                            font->fontname, (unsigned)tfm->checksum, 
+                            (unsigned)font->checksum);
        }
        font->checksum = tfm->checksum;
        font->design = tfm->design;