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
e264613a
Commit
e264613a
authored
14 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Thumbnail mode: Fix segfault when opening a deleted/renamed file
parent
502e1c9a
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
ChangeLog
+5
-0
5 additions, 0 deletions
ChangeLog
src/events.c
+2
-1
2 additions, 1 deletion
src/events.c
with
7 additions
and
1 deletion
ChangeLog
+
5
−
0
View file @
e264613a
git HEAD
* Fix segfault in Thumbnail mode when trying to open a no longer
existing image (e.g. when the file was renamed by a previous action)
Sat Jun 5 21:35:25 CEST 2010 Daniel Friesel <derf@chaosdorf.de
* Release v1.6.1
...
...
This diff is collapsed.
Click to expand it.
src/events.c
+
2
−
1
View file @
e264613a
...
...
@@ -251,7 +251,8 @@ static void feh_event_handle_ButtonRelease(XEvent * ev)
thumbwin
=
winwidget_create_from_file
(
gib_list_add_front
(
NULL
,
thumbfile
),
s
,
WIN_TYPE_THUMBNAIL_VIEWER
);
winwidget_show
(
thumbwin
);
if
(
thumbwin
)
winwidget_show
(
thumbwin
);
}
else
if
(
FEH_FILE
(
thumbwin
->
file
->
data
)
!=
thumbfile
)
{
free
(
thumbwin
->
file
);
thumbwin
->
file
=
gib_list_add_front
(
NULL
,
thumbfile
);
...
...
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