From 3420acabe52e60fe0ff782806ff0e19cd8f10098 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 9 Aug 2016 21:32:09 +0200 Subject: [PATCH] text2image: Add linefeed to error message This changes the error message for a missing font from Could not find font named Times New Roman.Please correct --font arg. (missing space after first sentence) to Could not find font named Times New Roman. Please correct --font arg. Signed-off-by: Stefan Weil --- training/text2image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training/text2image.cpp b/training/text2image.cpp index 5286ad8dfa..cc2e7f9df4 100644 --- a/training/text2image.cpp +++ b/training/text2image.cpp @@ -444,7 +444,7 @@ int main(int argc, char** argv) { if (!FLAGS_find_fonts && !FontUtils::IsAvailableFont(FLAGS_font.c_str())) { string pango_name; if (!FontUtils::IsAvailableFont(FLAGS_font.c_str(), &pango_name)) { - tprintf("Could not find font named %s.", FLAGS_font.c_str()); + tprintf("Could not find font named %s.\n", FLAGS_font.c_str()); if (!pango_name.empty()) { tprintf("Pango suggested font %s.\n", pango_name.c_str()); }