summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2021-09-12 21:01:30 +0000
committerDaniel Friesel <derf@chaosdorf.de>2022-01-03 10:24:07 +0100
commit6b3888778bbea026ae05806d7295a05c3ef5ef3f (patch)
tree5186804a3199e5b33d550b4d76f518a5b325dc9b
parentd89975957d54ac901ce52e6e3b9ca95d96048f8f (diff)
Fix spelling
-rw-r--r--examples/keys2
-rw-r--r--src/gib_hash.c2
-rw-r--r--src/gib_imlib.c2
-rw-r--r--src/imlib.c4
-rw-r--r--src/index.c2
-rw-r--r--src/thumbnail.c4
-rw-r--r--src/winwidget.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/examples/keys b/examples/keys
index d221d29..c1bb091 100644
--- a/examples/keys
+++ b/examples/keys
@@ -37,7 +37,7 @@ zoom_out C-Down a
zoom_default d
zoom_fit s
-# I only hit these accidentaly
+# I only hit these accidentally
save_image
save_filelist
diff --git a/src/gib_hash.c b/src/gib_hash.c
index 0d6a226..127946a 100644
--- a/src/gib_hash.c
+++ b/src/gib_hash.c
@@ -89,7 +89,7 @@ static unsigned char gib_hash_find_callback(gib_list *list, void *data)
gib_hash_node *node = GIB_HASH_NODE(list);
char *key = (char*) data;
- /* strncasecmp causes simliar keys like key1 and key11 clobber eachother */
+ /* strncasecmp causes similar keys like key1 and key11 clobber each other */
return !strcasecmp(node->key, key);
}
diff --git a/src/gib_imlib.c b/src/gib_imlib.c
index 7858cb7..be3b427 100644
--- a/src/gib_imlib.c
+++ b/src/gib_imlib.c
@@ -322,7 +322,7 @@ gib_imlib_text_draw(Imlib_Image im, Imlib_Font fn, gib_style * s, int x,
gib_style_bit *bb;
gib_list *l;
- /* here we shift the draw to accomodate bits with negative offsets,
+ /* here we shift the draw to accommodate bits with negative offsets,
* which would be drawn at negative coords otherwise */
l = s->bits;
while (l)
diff --git a/src/imlib.c b/src/imlib.c
index c42c4a4..6d709a2 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -904,8 +904,8 @@ static char *feh_http_load_image(char *url)
#endif
/*
* Do not allow requests to take longer than 30 minutes.
- * This should be sufficiently high to accomodate use cases with
- * unusually high latencies, while at the sime time avoiding
+ * This should be sufficiently high to accommodate use cases with
+ * unusually high latencies, while at the same time avoiding
* feh hanging indefinitely in unattended slideshows.
*/
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 1800);
diff --git a/src/index.c b/src/index.c
index 85a3ee8..4c00321 100644
--- a/src/index.c
+++ b/src/index.c
@@ -131,7 +131,7 @@ void init_index_mode(void)
weprintf(
"The image size you specified (%dx%d) is not large\n"
"enough to hold all %d thumbnails. To fit all the thumbnails,\n"
- "either decrease their size, choos e asmaller font,\n"
+ "either decrease their size, choose a smaller font,\n"
"or use a larger image (like %dx%d)",
opt.limit_w, opt.limit_h, filelist_len, w, h);
h = opt.limit_h;
diff --git a/src/thumbnail.c b/src/thumbnail.c
index 9781027..e4a5f60 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -636,9 +636,9 @@ char *feh_thumbnail_get_name_uri(char *name)
/* FIXME: what happens with http, https, and ftp? MTime etc */
if (!path_is_url(name)) {
- /* make sure it's an absoulte path */
+ /* make sure it's an absolute path */
/* FIXME: add support for ~, need to investigate if it's expanded
- somewhere else before adding (unecessary) code */
+ somewhere else before adding (unnecessary) code */
if (name[0] != '/') {
/* work around /some/path/./image.ext */
if ((strncmp(name, "./", 2)) == 0)
diff --git a/src/winwidget.c b/src/winwidget.c
index f32b929..9f61ba6 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -778,7 +778,7 @@ void feh_event_handle_inotify(void)
for (int j = 0; j < window_num; j++) {
if(windows[j]->inotify_wd == event->wd) {
if (event->mask & IN_IGNORED) {
- D(("inotify watch was implicitely removed\n"));
+ D(("inotify watch was implicitly removed\n"));
windows[j]->inotify_wd = -1;
} else if (event->mask & (IN_CLOSE_WRITE | IN_MOVED_TO)) {
if (strcmp(event->name, FEH_FILE(windows[j]->file->data)->name) == 0) {