projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1becc
)
Fix a segfault occuring when pressing 'i' for overlay info
author
Laurent Monin
<geeqie@norz.org>
Mon, 21 Apr 2008 15:30:16 +0000
(15:30 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 21 Apr 2008 15:30:16 +0000
(15:30 +0000)
in a separate image window (no layout).
src/image-overlay.c
patch
|
blob
|
history
diff --git
a/src/image-overlay.c
b/src/image-overlay.c
index
eef321b
..
c926e0f
100644
(file)
--- a/
src/image-overlay.c
+++ b/
src/image-overlay.c
@@
-312,7
+312,7
@@
static GdkPixbuf *image_osd_info_render(ImageWindow *imd)
if (!lw)
lw = layout_find_by_image(imd);
- if (imgpixbuf && lw->histogram && lw->histogram_enabled
+ if (imgpixbuf && lw
&& lw
->histogram && lw->histogram_enabled
&& (!imd->il || imd->il->done))
with_hist=1;