X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fdvi%2Fmdvi-lib%2Ffont.c;h=2d488d625d8847e6bb447fdb8bf1bb57dda4d6f3;hb=fe48fa119675671ffd3c6040007eaaa3224d655c;hp=065b5869a5110928cdd57445907ff78b3e4ce5aa;hpb=14def5e0c1c11cee1523e10c72df74f4cf5e451d;p=evince.git diff --git a/backend/dvi/mdvi-lib/font.c b/backend/dvi/mdvi-lib/font.c index 065b5869..2d488d62 100644 --- a/backend/dvi/mdvi-lib/font.c +++ b/backend/dvi/mdvi-lib/font.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -36,7 +36,7 @@ int font_reopen(DviFont *font) { if(font->in) fseek(font->in, (long)0, SEEK_SET); - else if((font->in = fopen(font->filename, "r")) == NULL) { + else if((font->in = fopen(font->filename, "rb")) == NULL) { DEBUG((DBG_FILES, "reopen(%s) -> Error\n", font->filename)); return -1; }