Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
feh
Commits
b6f55476
Commit
b6f55476
authored
4 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Plain Diff
Merge branch 'iglosiggio-start-at-supports-urls'
parents
f13a473e
31a2b570
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/applications/feh.pre
+1
-1
1 addition, 1 deletion
share/applications/feh.pre
src/options.c
+3
-1
3 additions, 1 deletion
src/options.c
with
4 additions
and
2 deletions
share/applications/feh.pre
+
1
−
1
View file @
b6f55476
...
...
@@ -4,7 +4,7 @@ Name[en_US]=feh
GenericName=Image viewer
GenericName[en_US]=Image viewer
Comment=Image viewer and cataloguer
Exec=feh --start-at %
f
Exec=feh --start-at %
u
Terminal=false
Type=Application
Icon=feh
...
...
This diff is collapsed.
Click to expand it.
src/options.c
+
3
−
1
View file @
b6f55476
...
...
@@ -843,7 +843,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
}
}
else
if
(
finalrun
&&
!
opt
.
filelistfile
&&
!
opt
.
bgmode
)
{
if
(
opt
.
start_list_at
&&
!
path_is_url
(
opt
.
start_list_at
)
&&
strrchr
(
opt
.
start_list_at
,
'/'
))
{
if
(
opt
.
start_list_at
&&
path_is_url
(
opt
.
start_list_at
))
{
add_file_to_filelist_recursively
(
opt
.
start_list_at
,
FILELIST_FIRST
);
}
else
if
(
opt
.
start_list_at
&&
strrchr
(
opt
.
start_list_at
,
'/'
))
{
char
*
target_directory
=
estrdup
(
opt
.
start_list_at
);
char
*
filename_start
=
strrchr
(
target_directory
,
'/'
);
if
(
filename_start
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment