From 281e8a571887dda8c1073f9475686efc284a4bec Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 8 Feb 2010 21:54:15 +0000
Subject: [PATCH] pp

---
 Fltk/pluginWindow.cpp |  3 +--
 Mesh/Field.cpp        | 12 ++++++------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Fltk/pluginWindow.cpp b/Fltk/pluginWindow.cpp
index 7a1207fca0..9aa6c61aad 100644
--- a/Fltk/pluginWindow.cpp
+++ b/Fltk/pluginWindow.cpp
@@ -285,8 +285,7 @@ void pluginWindow::_createDialogBox(GMSH_Plugin *p, int x, int y,
         (x + WB, y + top + BH + WB, width - 2 * WB, height - top - 2 * BH - 3 * WB);
       std::string help = p->getHelp();
       ConvertToHTML(help);
-      help += std::string("<p><em>Author: ") + p->getAuthor() + "</em>";
-      help += std::string("<br><em>Copyright: ") + p->getCopyright() + "</em>";
+      help += std::string("<p><em>Author(s): ") + p->getAuthor() + "</em>";
       o->value(help.c_str());
       o->textfont(FL_HELVETICA);
       o->textsize(FL_NORMAL_SIZE);
diff --git a/Mesh/Field.cpp b/Mesh/Field.cpp
index 79bb11022f..8328192702 100644
--- a/Mesh/Field.cpp
+++ b/Mesh/Field.cpp
@@ -151,11 +151,11 @@ Field *FieldManager::get(int id)
 Field *FieldManager::newField(int id, std::string type_name)
 {
   if(find(id) != end()) {
-    Msg::Error("Field id %i is already defined.", id);
+    Msg::Error("Field id %i is already defined", id);
     return 0;
   }
   if(map_type_name.find(type_name) == map_type_name.end()) {
-    Msg::Error("Unknown field type \"%s\".", type_name.c_str());
+    Msg::Error("Unknown field type \"%s\"", type_name.c_str());
     return 0;
   }
   Field *f = (*map_type_name[type_name]) ();
@@ -192,7 +192,7 @@ void FieldManager::deleteField(int id)
 {
   iterator it = find(id);
   if(it == end()) {
-    Msg::Error("Cannot delete field id %i, it does not exist.", id);
+    Msg::Error("Cannot delete field id %i, it does not exist", id);
     return;
   }
   delete it->second;
@@ -614,8 +614,8 @@ public:
   }
   virtual std::string getDescription()
   {
-    return "F = LCMin if Field[IField] <= DistMin, "
-      "F = LCMax if Field[IField] >= DistMax, "
+    return "F = LCMin if Field[IField] <= DistMin,\n"
+      "F = LCMax if Field[IField] >= DistMax,\n"
       "F = interpolation between LcMin and LcMax if DistMin < Field[IField] < DistMax";
   }
   virtual void operator() (double x, double y, double z, SMetric3 &metr, GEntity *ge=0)
@@ -732,7 +732,7 @@ class GradientField : public Field
          (*field) (x, y, z - delta / 2)) / delta;
       return sqrt(gx * gx + gy * gy + gz * gz);
     default:
-      Msg::Error("Field %i : Unknown kind (%i) of gradient.", this->id,
+      Msg::Error("Field %i : Unknown kind (%i) of gradient", this->id,
                  kind);
       return MAX_LC;
     }
-- 
GitLab