Loading examples/keys +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading src/gib_hash.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading src/gib_imlib.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading src/imlib.c +2 −2 Original line number Diff line number Diff line Loading @@ -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); Loading src/thumbnail.c +2 −2 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
examples/keys +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
src/gib_hash.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
src/gib_imlib.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading
src/imlib.c +2 −2 Original line number Diff line number Diff line Loading @@ -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); Loading
src/thumbnail.c +2 −2 Original line number Diff line number Diff line Loading @@ -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) Loading