mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
* InsetSpace.cpp: prevent another (potential) null pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30666 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a7721a236e
commit
03270dd2a6
@ -535,7 +535,8 @@ int InsetSpace::latex(odocstream & os, OutputParams const & runparams) const
|
||||
os << (runparams.free_spacing ? " " : "\\ ");
|
||||
break;
|
||||
case InsetSpaceParams::PROTECTED:
|
||||
if (runparams.local_font->language()->lang() == "polutonikogreek")
|
||||
if (runparams.local_font &&
|
||||
runparams.local_font->language()->lang() == "polutonikogreek")
|
||||
// in babel's polutonikogreek, ~ is active
|
||||
os << (runparams.free_spacing ? " " : "\\nobreakspace{}");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user