]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Alert.C
If I ever see another licence blurb again, it'll be too soon...
[lyx.git] / src / frontends / Alert.C
index a230557c8fe9204ef2eb0f34ce951d0d9793c06c..984abfab875f14bd451d9dbc7204e8d0609895e3 100644 (file)
@@ -5,7 +5,7 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -22,11 +22,12 @@ using std::pair;
 using std::make_pair;
 
 int Alert::prompt(string const & title, string const & question,
-           int default_button,
+           int default_button, int escape_button,
           string const & b1, string const & b2, string const & b3)
 {
        if (lyx_gui::use_gui)
-               return prompt_pimpl(title, question, default_button, b1, b2, b3);
+               return prompt_pimpl(title, question,
+                       default_button, escape_button, b1, b2, b3);
 
        lyxerr << title << endl;
        lyxerr << "----------------------------------------" << endl;