diff --git a/lib/roken/rtbl.c b/lib/roken/rtbl.c index c1f27baa3..f58ec52b7 100644 --- a/lib/roken/rtbl.c +++ b/lib/roken/rtbl.c @@ -429,7 +429,7 @@ rtbl_format_pretty(rtbl_t table) else w = -w; } - rk_strpoolprintf(p, "%s", get_column_prefix (table, c)); + p = rk_strpoolprintf(p, "%s", get_column_prefix (table, c)); if (c->num_rows <= j) p = rk_strpoolprintf(p, "%*s", w, ""); else