[pacman-dev] [PATCH] pacman/util.c: add missing braces
Andrew Gregory
andrew.gregory.8 at gmail.com
Sat May 4 09:36:02 EDT 2013
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
src/pacman/util.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 8234120..66765b1 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;
--
1.8.2.2
More information about the pacman-dev
mailing list