diff --git a/CHANGELOG.md b/CHANGELOG.md index 00a0b58..5497fda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org) * Downloader: uncaught exception on missing `resolve()` plugin function. * Correctly look for `--author` option, not `--authors`. * Screens/details: "Serie" -> "Series" +* Screens/details: Correctly print empty fields. ## [v0.8.0] - 2019-05-26 diff --git a/src/tui/screens/item_details.cpp b/src/tui/screens/item_details.cpp index bb8d9ae..3a8dcd0 100644 --- a/src/tui/screens/item_details.cpp +++ b/src/tui/screens/item_details.cpp @@ -99,6 +99,10 @@ namespace bookwyrm::tui::screen { for (const auto str : substrings) { print(indent, y++, str); } + + if (substrings.empty()) { + y++; + } } }