From: Lukas Fleischer Date: Sat, 6 Apr 2013 21:39:08 +0000 (+0200) Subject: ui-refs.c: Refactor print_tag() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/4b4a62d507adc61e20e75e2748301ef307a6c95f?hp=4b4a62d507adc61e20e75e2748301ef307a6c95f ui-refs.c: Refactor print_tag() The code snippets for OBJ_TAG and other object types are almost equivalent. Merge them and use a couple of inline if conditions to select proper fields. Signed-off-by: Lukas Fleischer ---