]> git.lyx.org Git - features.git/commitdiff
make text output of message boxes more readable
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 25 May 2004 16:27:06 +0000 (16:27 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 25 May 2004 16:27:06 +0000 (16:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8775 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/Alert.C
src/frontends/ChangeLog

index feb3b65cacc41dc22220aad31ec496c84694d5f2..3cad674292c9b18aad57890a98dec86bcee506bb 100644 (file)
@@ -27,8 +27,8 @@ int Alert::prompt(string const & title, string const & question,
           string const & b1, string const & b2, string const & b3)
 {
        if (!lyx_gui::use_gui || lyxerr.debugging()) {
-               lyxerr << title
-                      << "----------------------------------------"
+               lyxerr << title << '\n'
+                      << "----------------------------------------\n"
                       << question << endl;
 
                lyxerr << "Assuming answer is ";
@@ -50,8 +50,8 @@ int Alert::prompt(string const & title, string const & question,
 void Alert::warning(string const & title, string const & message)
 {
        if (!lyx_gui::use_gui || lyxerr.debugging())
-               lyxerr << "Warning: " << title
-                      << "----------------------------------------"
+               lyxerr << "Warning: " << title << '\n'
+                      << "----------------------------------------\n"
                       << message << endl;
        if (lyx_gui::use_gui)
                warning_pimpl(title, message);
@@ -73,8 +73,8 @@ void Alert::error(string const & title, string const & message)
 void Alert::information(string const & title, string const & message)
 {
        if (!lyx_gui::use_gui || lyxerr.debugging())
-               lyxerr << title
-                      << "----------------------------------------"
+               lyxerr << title << '\n'
+                      << "----------------------------------------\n"
                       << message << endl;
 
        if (lyx_gui::use_gui)
index edd400e859db8c55333cd395514807bf367e970e..158c669a3ec25d495b3c30f7fba207586be7247a 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * Alert.C: make text output more readable
+
 2004-05-19  Angus Leeming  <leeming@lyx.org>
 
        * Dialogs.[Ch]: