mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
InsetHyperlink.cpp: coding style change according to André's advice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26269 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
de9a4a09c2
commit
ed5fcd95ac
@ -90,7 +90,7 @@ int InsetHyperlink::latex(odocstream & os, OutputParams const & runparams) const
|
|||||||
docstring type = getParam("type");
|
docstring type = getParam("type");
|
||||||
if (url.find(from_ascii("://")) == string::npos
|
if (url.find(from_ascii("://")) == string::npos
|
||||||
&& url.find(from_ascii("run:")) == string::npos
|
&& url.find(from_ascii("run:")) == string::npos
|
||||||
&& type == "")
|
&& type.empty())
|
||||||
url = from_ascii("http://") + url;
|
url = from_ascii("http://") + url;
|
||||||
|
|
||||||
} // end if (!url.empty())
|
} // end if (!url.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user