diff --git a/src/frontends/qt2/QPrefs.C b/src/frontends/qt2/QPrefs.C index 84a7cebaf2..6f917a72bc 100644 --- a/src/frontends/qt2/QPrefs.C +++ b/src/frontends/qt2/QPrefs.C @@ -435,8 +435,8 @@ void setComboxFont(QComboBox * cb, string const & family, string const & foundry font.setStyleHint(QFont::TypeWriter); font.setFamily(family.c_str()); } else { - lyxerr << "FAILED to find the default font !" - << foundry << ", " << family << endl; + lyxerr << "FAILED to find the default font: '" + << foundry << "', '" << family << '\''<< endl; return; } @@ -454,8 +454,8 @@ void setComboxFont(QComboBox * cb, string const & family, string const & foundry } } - lyxerr << "FAILED to find the font !" - << foundry << ", " << family << endl; + lyxerr << "FAILED to find the font: '" + << foundry << "', '" << family << '\'' <