aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-03-12 22:01:30 +0200
committerDylan Araps <dylan.araps@gmail.com>2020-03-12 22:01:30 +0200
commit3a33033120cfd8a30af6b1d753a6da935ee75b3f (patch)
tree62c3cbcc246dcf10e3221dc96fec994503d35211
parent44aaae774fe99172fe28510c37542d70ea59d952 (diff)
downloadpfetch-3a33033120cfd8a30af6b1d753a6da935ee75b3f.tar.gz
pfetch: Fix potential align issue
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 4b5af36..9ca2b75 100755
--- a/pfetch
+++ b/pfetch
@@ -88,7 +88,7 @@ log() {
# Move the cursor backward the length of the *current* info name and
# then move it forwards the length of the *longest* info name. This
# aligns each info data line.
- printf '[%sD[%sC' "${#name}" "${PF_ALIGN-$info_length}"
+ printf '[%sD[%sC' "${#name}" "${PF_ALIGN:-$info_length}"
# Print the info data, color it and strip all leading whitespace
# from the string.