]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.C
Alfredo's second patch
[lyx.git] / src / lyxvc.C
index b919bb1d4f14c587663d3314271607bc858c8ec2..e798317e6134975bf19c3af3360f9f1e80d837eb 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "support/filetools.h"
 #include "support/lyxlib.h"
-#include "BoostFormat.h"
+#include "support/BoostFormat.h"
 
 #include <unistd.h>
 
@@ -89,7 +89,7 @@ bool LyXVC::ensureClean()
        text += file + _(" has unsaved changes.\n\nDo you want to save the document?");
 #endif
        int const ret = Alert::prompt(_("Save changed document?"),
-               text, 0, _("&Save"), _("&Cancel"));
+               text, 0, 1, _("&Save"), _("&Cancel"));
 
        if (ret == 0) {
                vcs->owner()->getUser()->owner()->dispatch(FuncRequest(LFUN_MENUWRITE));
@@ -203,7 +203,7 @@ void LyXVC::revert()
        text += file + _(" will lose all current changes.\n\nDo you want to revert to the saved version?");
 #endif
        int const ret = Alert::prompt(_("Revert to stored version of document?"),
-               text, 1, _("&Revert"), _("&Cancel"));
+               text, 0, 1, _("&Revert"), _("&Cancel"));
 
        if (ret == 0)
                vcs->revert();