summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-05-04 09:36:02 -0400
committerAllan McRae <allan@archlinux.org>2013-05-07 12:53:23 +1000
commit692633264a5cf1aa3e526522d7daf68d73943f12 (patch)
treec79f1a41fc5dd77f5b445ad45b49739f8983a1a1
parent34da9d25e4884c3f89092f6295f1ca6070604c7e (diff)
downloadpacman-692633264a5cf1aa3e526522d7daf68d73943f12.tar.xz
pacman/util.c: add missing braces
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-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;