]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
Change to use preffered calling of Boost.Function
[lyx.git] / src / lyx_cb.C
index 663c4c46818e9242290677a63b6f2a24ad1b6b85..6988a430e707ba0d934820dcf5b6c7f586ca5c31 100644 (file)
@@ -62,6 +62,7 @@ using lyx::support::MakeDisplayPath;
 using lyx::support::OnlyFilename;
 using lyx::support::OnlyPath;
 using lyx::support::Path;
+using lyx::support::QuoteName;
 using lyx::support::removeAutosaveFile;
 using lyx::support::rename;
 using lyx::support::split;
@@ -446,7 +447,7 @@ void Reconfigure(BufferView * bv)
        Path p(user_lyxdir());
        Systemcall one;
        one.startscript(Systemcall::Wait,
-                       AddName(system_lyxdir(), "configure"));
+                       QuoteName(AddName(system_lyxdir(), "configure")));
        p.pop();
        bv->owner()->message(_("Reloading configuration..."));
        lyxrc.read(LibFileSearch(string(), "lyxrc.defaults"));