refactoring: run clang-format against code

This commit is contained in:
Evgeniy A. Dushistov
2020-08-14 12:36:02 +03:00
parent 79773d6af9
commit 7facbe215e
6 changed files with 17 additions and 16 deletions

View File

@@ -314,7 +314,7 @@ public:
private:
FILE *output;
};
}
} // namespace
search_result Library::process_phrase(const char *loc_str, IReadLine &io, bool force)
{
@@ -330,7 +330,7 @@ search_result Library::process_phrase(const char *loc_str, IReadLine &io, bool f
gsize bytes_read;
gsize bytes_written;
glib::Error err;
search_result rval = SEARCH_SUCCESS;
search_result rval = SEARCH_SUCCESS;
glib::CharStr str;
if (!utf8_input_)
str.reset(g_locale_to_utf8(loc_str, -1, &bytes_read, &bytes_written, get_addr(err)));
@@ -444,7 +444,7 @@ search_result Library::process_phrase(const char *loc_str, IReadLine &io, bool f
loc_str = utf8_to_locale_ign_err(get_impl(str));
if (!json_)
printf(_("Nothing similar to %s, sorry :(\n"), utf8_output_ ? get_impl(str) : loc_str.c_str());
rval = SEARCH_NO_RESULT;
rval = SEARCH_NO_RESULT;
}
if (json_) {