diff options
| author | TwoFinger <Two-Finger@users.noreply.github.com> | 2018-01-25 20:13:23 +0200 |
|---|---|---|
| committer | TwoFinger <Two-Finger@users.noreply.github.com> | 2018-01-27 13:06:53 +0200 |
| commit | e9c915335b162f05ad5246c166faa055a240118e (patch) | |
| tree | e9062139a1e8344f5bd0e98756451abea4bf2c42 /vis.c | |
| parent | 5963289d0257c7bd422c3cf54866a846168f5c7a (diff) | |
| download | vis-e9c915335b162f05ad5246c166faa055a240118e.tar.gz vis-e9c915335b162f05ad5246c166faa055a240118e.tar.xz | |
vis-complete: Slight refactoring
Move the "case $PATTERN" block inside "if $COMPLETE_WORD" to make it
clear that it is specific only to the "else" branch.
Eliminate the $START variable - it was used only once, and using
dirname(1) directly is obvious enough.
Remove the comments inside the "case" block (explaining the "what") and
replaced them with a single comment explaining the "why".
Diffstat (limited to 'vis.c')
0 files changed, 0 insertions, 0 deletions
