Skip to content

Commit

Permalink
Merge pull request #398 from stweil/windows
Browse files Browse the repository at this point in the history
text2image: Add linefeed to error message
  • Loading branch information
zdenop authored Aug 28, 2016
2 parents a1f0f36 + 3420aca commit b000dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/text2image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit b000dd2

Please sign in to comment.