]> git.lyx.org Git - features.git/blobdiff - src/lyx_cb.C
Rename strip to rtrim
[features.git] / src / lyx_cb.C
index ba68ea63236e3b4dba45d610ac8aea905921d41d..840f859582fd97aad2bb9c6ec134fee4b73bd9a4 100644 (file)
@@ -466,7 +466,7 @@ void MenuInsertLabel(BufferView * bv, string const & arg)
                pair<bool, string> result =
                        Alert::askForText(_("Enter new label to insert:"), text);
                if (result.first) {
-                       label = frontStrip(strip(result.second));
+                       label = trim(result.second);
                }
        }
        if (!label.empty()) {