Mercurial > geeqie
changeset 464:af7d8c1615db
Fix a segfault occuring when pressing 'i' for overlay info
in a separate image window (no layout).
author | zas_ |
---|---|
date | Mon, 21 Apr 2008 15:30:16 +0000 |
parents | 544934a1ff89 |
children | b8731e13028b |
files | src/image-overlay.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-overlay.c Mon Apr 21 14:19:48 2008 +0000 +++ b/src/image-overlay.c Mon Apr 21 15:30:16 2008 +0000 @@ -312,7 +312,7 @@ 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;