]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / Spacing.C
index 103eb91fdcb0689cac04f3719037859f50b54a8f..90d73d52f7ed9b7786b20fc9269d3a9471bfc3cc 100644 (file)
@@ -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);