Revert recent "fix"!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2576 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-08-23 16:13:47 +00:00
parent c82e7795c3
commit 3f7e3f8bef
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
* converter.C (Formats::view): reverted! Incorrect fix.
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
* converter.C (Formats::view): only output the -paper option

View File

@ -177,9 +177,7 @@ bool Formats::view(Buffer const * buffer, string const & filename,
string command = format->viewer();
if (format_name == "dvi" &&
prefixIs(frontStrip(command), "xdvi") &&
!lyxrc.view_dvi_paper_option.empty()) {
command += " " + lyxrc.view_dvi_paper_option;
string paper_size = converters.papersize(buffer);
if (paper_size == "letter")