]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFonts.cpp
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / LaTeXFonts.cpp
index 676179f5a5f7fa436e1ee808d54e92049ab761a8..9010615fcb4c19bf0307ef12e5c2795b46e0202b 100644 (file)
@@ -259,8 +259,9 @@ string const LaTeXFont::getPackageOptions(bool ot1, bool complete, bool sc, bool
            && providesScale(ot1, complete, nomath)) {
                if (!os.str().empty())
                        os << ',';
-               os << subst(to_ascii(scaleoption_), "$$val",
-                           convert<std::string>(float(scale) / 100));
+               ostringstream value;
+               value << float(scale) / 100;
+               os << subst(to_ascii(scaleoption_), "$$val", value.str());
        }
        return os.str();
 }