mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
lyxpaperview - fix viewer calls with additional arguments
This commit is contained in:
parent
be0341edd3
commit
3a72e2c76b
@ -299,9 +299,9 @@ void showTarget(string const & target, string const & pdfv, string const & psv)
|
||||
string tmp, tar, opts;
|
||||
tar = split(target, tmp, ' ');
|
||||
if (!pdfv.empty())
|
||||
opts = " -v " + pdfv;
|
||||
opts = " -v \"" + pdfv + "\"";
|
||||
if (!psv.empty())
|
||||
opts += " -w " + psv;
|
||||
opts += " -w \"" + psv + "\"";
|
||||
if (!opts.empty())
|
||||
opts += " ";
|
||||
Systemcall one;
|
||||
|
Loading…
Reference in New Issue
Block a user