summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-02-initialize
blob: 35c3abb22377d32eae87db5939df270d6371a7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur dvi2tty-5.3.4.orig/dvistuff.c dvi2tty-5.3.4/dvistuff.c
--- dvi2tty-5.3.4.orig/dvistuff.c	2011-01-26 11:35:56.000000000 +0100
+++ dvi2tty-5.3.4/dvistuff.c	2011-01-27 13:20:02.928406313 +0100
@@ -1419,6 +1419,8 @@
     }
     if (japan)
         fonts->fontnum = getjsubfont(name);
+    else
+        fonts->fontnum = 0;
 
     if ((strstr(name, "sy")) != NULL)
             fonts->flags |= SYMFONT;