Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 06 Apr 2015 15:07:24 UTC Commit: 4a3ac8106517120a8a3fc9bf8eaa5dc92dfd5c7d https://github.com/geany/geany-plugins/commit/4a3ac8106517120a8a3fc9bf8eaa5d...
Log Message: ----------- Simplify status.m4 indentation pretty-print logic
Modified Paths: -------------- build/status.m4
Modified: build/status.m4 7 lines changed, 1 insertions(+), 6 deletions(-) =================================================================== @@ -27,12 +27,7 @@ AC_DEFUN([_GP_STATUS_PRINT_INDENT_], test -z "$line" && break; plugin=" ${line%:*}:" status=${line#*:} - let extracols=$2-${#plugin} >/dev/null - printf "$plugin" - for i in $(seq 1 $extracols); do - printf ' ' - done - echo $status + printf "%-*s%s\n" "$2" "$plugin" "$status" done << GPEOF $$1_statusmsg GPEOF
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org