summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-13 03:25:58 +0200
committerDan McGee <dan@archlinux.org>2011-09-28 17:17:15 +0200
commitbcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a (patch)
tree6588c75a79d7e7a78137b9efae58bbcb4d8c4a8c /test
parent1b8bb7c1cd81c1f8f0dcffc952cd464b6a436f06 (diff)
downloadpacman-bcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a.tar.gz
pacman-bcc6a5d72df3cb3ee9f3d2347526c3dc03d5f55a.tar.xz
Table format creation code cleanup
Better scoping of variables for the most part, and ensure we are using string_length() and not strlen() as appropriate. Also refactor the longest cell code to call string_length() a lot less; by simply using an array of max sizes we don't have to recompute values nearly as much. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions