Skip to content
Snippets Groups Projects
Commit 0892b8c9 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix slow startup with 64 bit cocoa version on mac by remvoving non-latin1 chars!

parent 653a64f6
No related branches found
No related tags found
No related merge requests found
...@@ -30,17 +30,19 @@ aboutWindow::aboutWindow() ...@@ -30,17 +30,19 @@ aboutWindow::aboutWindow()
win->box(GMSH_WINDOW_BOX); win->box(GMSH_WINDOW_BOX);
Fl_Help_View *o = new Fl_Help_View(0, 0, width, height); Fl_Help_View *o = new Fl_Help_View(0, 0, width, height);
o->textfont(FL_HELVETICA);
o->textsize(FL_NORMAL_SIZE);
o->box(FL_FLAT_BOX); o->box(FL_FLAT_BOX);
std::ostringstream sstream; std::ostringstream sstream;
sstream << "<center><h3>Gmsh</h3><br>version " << GetGmshVersion() sstream << "<center><h3>Gmsh</h3><br>version " << GetGmshVersion()
<< "<p>Copyright (C) 1997-2010" << "<p>Copyright (C) 1997-2010"
<< "<br>Christophe Geuzaine and Jean-Fran&ccedil;ois Remacle" << "<br>Christophe Geuzaine and Jean-Francois Remacle"
<< "<p><a href=\"http://geuz.org/gmsh/doc/CREDITS.txt\">Credits</a> " << "<p><a href=\"http://geuz.org/gmsh/doc/CREDITS.txt\">Credits</a> "
<< "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing " << "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing "
<< "information</a>" << "information</a>"
<< "<p>Please send all questions and bug reports to " << "<p>Please send all questions and bug reports to "
<< "<a href=\"mailto:gmsh@geuz.org\">gmsh@geuz.org</a></center>" << "<a href=\"mailto:gmsh@geuz.org\">gmsh@geuz.org</a></center>"
<< "<font color=#888888><ul>" << "<ul>"
<< "<li><i>GUI toolkit:</i> FLTK " << "<li><i>GUI toolkit:</i> FLTK "
<< FL_MAJOR_VERSION << "." << FL_MINOR_VERSION << "." << FL_PATCH_VERSION << FL_MAJOR_VERSION << "." << FL_MINOR_VERSION << "." << FL_PATCH_VERSION
<< "<li><i>Build OS:</i> " << GetGmshBuildOS() << "<li><i>Build OS:</i> " << GetGmshBuildOS()
...@@ -48,13 +50,11 @@ aboutWindow::aboutWindow() ...@@ -48,13 +50,11 @@ aboutWindow::aboutWindow()
<< "<li><i>Build host:</i> " << GetGmshBuildHost() << "<li><i>Build host:</i> " << GetGmshBuildHost()
<< "<li><i>Build options:</i>" << GetGmshBuildOptions() << "<li><i>Build options:</i>" << GetGmshBuildOptions()
<< "<li><i>Packaged by:</i> " << GetGmshPackager() << "<li><i>Packaged by:</i> " << GetGmshPackager()
<< "</ul></font><center>" << "</ul>"
<< "Visit <a href=\"http://geuz.org/gmsh/\">http://geuz.org/gmsh/</a> " << "<center>Visit <a href=\"http://geuz.org/gmsh/\">http://geuz.org/gmsh/</a> "
<< "for more information</center>"; << "for more information</center>";
o->value(sstream.str().c_str()); o->value(sstream.str().c_str());
o->link(help_link); o->link(help_link);
o->textfont(FL_HELVETICA);
o->textsize(FL_NORMAL_SIZE);
win->position(Fl::x() + Fl::w()/2 - width / 2, win->position(Fl::x() + Fl::w()/2 - width / 2,
Fl::y() + Fl::h()/2 - height / 2); Fl::y() + Fl::h()/2 - height / 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment