summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfreddii <freddii@users.noreply.github.com>2021-01-18 14:58:12 +0100
committerfreddii <freddii@users.noreply.github.com>2021-01-18 14:58:12 +0100
commite2157922c113421f6f33bec687e80476d0d45209 (patch)
tree2ade8eab1c0c80659642a0b1dbfb1b0c3d282f38
parent5045c4ab91f559a3735619dacf604e37632160cf (diff)
fixed wrong spelled words
-rwxr-xr-xfff6
1 files changed, 3 insertions, 3 deletions
diff --git a/fff b/fff
index cee2cc9..5c10a52 100755
--- a/fff
+++ b/fff
@@ -274,7 +274,7 @@ print_line() {
# Color files based on file extension and LS_COLORS.
# Check if file extension adheres to POSIX naming
- # stardard before checking if it's a variable.
+ # standard before checking if it's a variable.
elif [[ $FFF_LS_COLORS == 1 &&
$file_ext != "$file_name" &&
$file_ext =~ ^[a-zA-Z0-9_]*$ ]]; then
@@ -326,7 +326,7 @@ draw_dir() {
((scroll_end=max_items))
((scroll_new_pos=scroll+1))
- # If curent dir is near the end of the list, keep scroll position.
+ # If current dir is near the end of the list, keep scroll position.
elif ((list_total - scroll < max_items/2)); then
((scroll_start=list_total-max_items+1))
((scroll_new_pos=max_items-(list_total-scroll)))
@@ -401,7 +401,7 @@ draw_img() {
# Get the image size in pixels.
read -r img_width img_height < <("$w3m" <<< "5;${list[scroll]}")
- # Substract the status_line area from the image size.
+ # Subtract the status_line area from the image size.
((HEIGHT=HEIGHT-HEIGHT*5/LINES))
((img_width > WIDTH)) && {