Revision: 1543
http://geeqie.svn.sourceforge.net/geeqie/?rev=1543&view=rev
Author: nadvornik
Date: 2009-03-15 18:41:25 +0000 (Sun, 15 Mar 2009)
Log Message:
-----------
fixed segfault in osd called from img-view
http://sourceforge.net/tracker/index.php?func=detail&aid=2684068&group_id=222125&atid=1054680
Modified Paths:
--------------
trunk/src/image-overlay.c
Modified: trunk/src/image-overlay.c
===================================================================
--- trunk/src/image-overlay.c 2009-03-15 18:06:41 UTC (rev 1542)
+++ trunk/src/image-overlay.c 2009-03-15 18:41:25 UTC (rev 1543)
@@ -147,25 +147,25 @@
void image_osd_toggle(ImageWindow *imd)
{
- OverlayStateData *osd;
+ OsdShowFlags show;
if (!imd) return;
- osd = image_get_osd_data(imd);
- if (osd->show == OSD_SHOW_NOTHING)
+ show = image_osd_get(imd);
+ if (show == OSD_SHOW_NOTHING)
{
image_osd_set(imd, OSD_SHOW_INFO | OSD_SHOW_STATUS);
return;
}
else
{
- if (osd->show & OSD_SHOW_HISTOGRAM)
+ if (show & OSD_SHOW_HISTOGRAM)
{
image_osd_set(imd, OSD_SHOW_NOTHING);
}
else
{
- image_osd_set(imd, osd->show | OSD_SHOW_HISTOGRAM);
+ image_osd_set(imd, show | OSD_SHOW_HISTOGRAM);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn