Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index c5f7a3bc..ef6de6bf 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -500,6 +500,9 @@ static void table_print_line(const alpm_list_t *line, short col_padding,
}
value = curcell->data;
+ if(!value) {
+ value = "";
+ }
/* silly printf requires padding size to be an int */
cell_padding = (int)widths[i] - (int)string_length(value);
if(cell_padding < 0) {