mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
c82e7795c3
commit
3f7e3f8bef
@ -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>
|
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
|
|
||||||
* converter.C (Formats::view): only output the -paper option
|
* converter.C (Formats::view): only output the -paper option
|
||||||
|
@ -177,9 +177,7 @@ bool Formats::view(Buffer const * buffer, string const & filename,
|
|||||||
string command = format->viewer();
|
string command = format->viewer();
|
||||||
|
|
||||||
if (format_name == "dvi" &&
|
if (format_name == "dvi" &&
|
||||||
prefixIs(frontStrip(command), "xdvi") &&
|
|
||||||
!lyxrc.view_dvi_paper_option.empty()) {
|
!lyxrc.view_dvi_paper_option.empty()) {
|
||||||
|
|
||||||
command += " " + lyxrc.view_dvi_paper_option;
|
command += " " + lyxrc.view_dvi_paper_option;
|
||||||
string paper_size = converters.papersize(buffer);
|
string paper_size = converters.papersize(buffer);
|
||||||
if (paper_size == "letter")
|
if (paper_size == "letter")
|
||||||
|
Loading…
Reference in New Issue
Block a user