]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_inset.C
A few tweaks needed by cxx
[features.git] / src / mathed / math_inset.C
index dfcce43cd83360797b01f5bc4644c91eb1454747..4b5660f3f0452ddb9b78816e34215c347bc1cfd7 100644 (file)
@@ -373,10 +373,10 @@ MathedInset * MathMatrixInset::Clone()
 }
 
 
-void MathMatrixInset::SetAlign(char vv, char const * hh)
+void MathMatrixInset::SetAlign(char vv, string const & hh)
 {
    v_align = vv;
-   strncpy(h_align, hh, nc);
+   strncpy(h_align, hh.c_str(), nc);
 }