mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
initialize fval
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2544 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1148c5d181
commit
d47c62c16c
@ -1,3 +1,7 @@
|
||||
2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* Spacing.C (set): initialize fval
|
||||
|
||||
2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
|
||||
|
@ -58,7 +58,7 @@ void Spacing::set(Spacing::Space sp, float val)
|
||||
|
||||
void Spacing::set(Spacing::Space sp, string const & val)
|
||||
{
|
||||
float fval;
|
||||
float fval = 0.0;
|
||||
istringstream istr(val.c_str());
|
||||
istr >> fval;
|
||||
set(sp, fval);
|
||||
|
Loading…
Reference in New Issue
Block a user