summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordylan <dylan.araps@gmail.com>2021-06-11 08:16:08 +0000
committerGitHub <noreply@github.com>2021-06-11 08:16:08 +0000
commit70cd1edaf01b5c961b2b87887040ff573cfa754f (patch)
tree87476aa087f801ae4ee004612bc230ab021494ea
parent82aa107dadae8235ce30791f00f12ac0c46b731c (diff)
parente2157922c113421f6f33bec687e80476d0d45209 (diff)
Merge pull request #170 from freddii/master
fixed wrong spelled words
-rwxr-xr-xfff6
1 files changed, 3 insertions, 3 deletions
diff --git a/fff b/fff
index 85f2ecc..1978a82 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)) && {