summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 59d3519e..bd09adc9 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -847,8 +847,9 @@ static void display_transaction_sizes(alpm_list_t *table)
struct table_row_t *row = i->data;
int len = string_length(row->label);
- if(len > max_len)
+ if(len > max_len) {
max_len = len;
+ }
}
max_len += 2;