From fdc68812c599deda0686a0180db4d4aea6c6a890 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 4 Jan 2021 17:27:48 +0100 Subject: [PATCH] clang-format-10.0.1 files. --- src/ui.cpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/ui.cpp b/src/ui.cpp index f6e300fa..0ef68407 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -466,8 +466,9 @@ void UiPacker::uiPackEnd(const OutputFile *fo) { name = opt->output_name; else if (opt->to_stdout) name = ""; - con_fprintf(stdout, "%s\n", mkline(p->ph.u_file_size, fo->st_size(), p->ph.u_len, p->ph.c_len, - p->getName(), fn_basename(name))); + con_fprintf(stdout, "%s\n", + mkline(p->ph.u_file_size, fo->st_size(), p->ph.u_len, p->ph.c_len, p->getName(), + fn_basename(name))); printSetNl(0); } @@ -496,8 +497,9 @@ void UiPacker::uiUnpackEnd(const OutputFile *fo) { name = opt->output_name; else if (opt->to_stdout) name = ""; - con_fprintf(stdout, "%s\n", mkline(fo->getBytesWritten(), p->file_size, p->ph.u_len, - p->ph.c_len, p->getName(), fn_basename(name), true)); + con_fprintf(stdout, "%s\n", + mkline(fo->getBytesWritten(), p->file_size, p->ph.u_len, p->ph.c_len, p->getName(), + fn_basename(name), true)); printSetNl(0); } @@ -514,8 +516,9 @@ void UiPacker::uiListStart() { total_files++; } void UiPacker::uiList() { const char *name = p->fi->getName(); - con_fprintf(stdout, "%s\n", mkline(p->ph.u_file_size, p->file_size, p->ph.u_len, p->ph.c_len, - p->getName(), name)); + con_fprintf( + stdout, "%s\n", + mkline(p->ph.u_file_size, p->file_size, p->ph.u_len, p->ph.c_len, p->getName(), name)); printSetNl(0); } @@ -526,8 +529,9 @@ void UiPacker::uiListTotal(bool decompress) { char name[32]; upx_snprintf(name, sizeof(name), "[ %u file%s ]", total_files_done, total_files_done == 1 ? "" : "s"); - con_fprintf(stdout, "%s%s\n", header_line2, mkline(total_fu_len, total_fc_len, total_u_len, - total_c_len, "", name, decompress)); + con_fprintf( + stdout, "%s%s\n", header_line2, + mkline(total_fu_len, total_fc_len, total_u_len, total_c_len, "", name, decompress)); printSetNl(0); } }