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=0b3d04ba66a836294bcfc17e93e89d1ce00f1236;hb=7a6187803fffe561099ea780692ab5b959093220;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..0b3d04ba 100644 --- a/backend/dvi/mdvi-lib/font.c +++ b/backend/dvi/mdvi-lib/font.c @@ -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; }