From 9501a5d1308ec782f77c8f6c46f3896ec04c80a8 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 25 May 2004 16:27:06 +0000 Subject: [PATCH] make text output of message boxes more readable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8775 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/Alert.C | 12 ++++++------ src/frontends/ChangeLog | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/frontends/Alert.C b/src/frontends/Alert.C index feb3b65cac..3cad674292 100644 --- a/src/frontends/Alert.C +++ b/src/frontends/Alert.C @@ -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) diff --git a/src/frontends/ChangeLog b/src/frontends/ChangeLog index edd400e859..158c669a3e 100644 --- a/src/frontends/ChangeLog +++ b/src/frontends/ChangeLog @@ -1,3 +1,7 @@ +2004-05-25 Georg Baum + + * Alert.C: make text output more readable + 2004-05-19 Angus Leeming * Dialogs.[Ch]: -- 2.39.2