add \n's to errors
This commit is contained in:
parent
261034b354
commit
684405eec8
1 changed files with 2 additions and 2 deletions
|
@ -64,14 +64,14 @@ BFont::BFont(int screen_num, const string &fontstring,
|
||||||
_fontstring.c_str())))
|
_fontstring.c_str())))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
printf(_("Unable to load font: %s"), _fontstring.c_str());
|
printf(_("Unable to load font: %s\n"), _fontstring.c_str());
|
||||||
printf(_("Trying fallback font: %s\n"), _fallback_font.c_str());
|
printf(_("Trying fallback font: %s\n"), _fallback_font.c_str());
|
||||||
|
|
||||||
if ((_xftfont = XftFontOpenName(OBDisplay::display, _screen_num,
|
if ((_xftfont = XftFontOpenName(OBDisplay::display, _screen_num,
|
||||||
_fallback_font.c_str())))
|
_fallback_font.c_str())))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
printf(_("Unable to load font: %s"), _fallback_font.c_str());
|
printf(_("Unable to load font: %s\n"), _fallback_font.c_str());
|
||||||
printf(_("Aborting!.\n"));
|
printf(_("Aborting!.\n"));
|
||||||
|
|
||||||
::exit(3); // can't continue without a font
|
::exit(3); // can't continue without a font
|
||||||
|
|
Loading…
Reference in a new issue