]> git.lyx.org Git - lyx.git/blobdiff - src/font.h
small changes read changelog
[lyx.git] / src / font.h
index ae164a7d10f76fbe3e435fdb79bfd46b10729b26..7e286e48f1502fc2756926a1e69cfe6850fdd507 100644 (file)
@@ -56,7 +56,7 @@ struct lyxfont {
        static
        int width(string const & s, LyXFont const & f) {
                if (s.empty()) return 0;
-               return width(s.c_str(), s.length(), f);
+               return width(s.data(), s.length(), f);
        }
        ///
        //static