Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: snaps.c Log Message: Fix initial autosave snapshots. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/snaps.c,v retrieving revision 1.107 retrieving revision 1.108 diff -u -3 -r1.107 -r1.108 --- snaps.c 30 Oct 2005 19:40:49 -0000 1.107 +++ snaps.c 30 Oct 2005 22:55:45 -0000 1.108 @@ -1410,14 +1410,7 @@ void SnapshotsEwinMatch(EWin * ewin) { - Snapshot *sn; - - sn = SnapshotEwinFind(ewin); - if (sn) - return; - - if (ewin->props.autosave) - SnapshotEwinSet(ewin, SNAP_MATCH_DEFAULT, SNAP_USE_ALL | SNAP_AUTO); + SnapshotEwinFind(ewin); } /* make a client window conform to snapshot info */ @@ -1429,7 +1422,12 @@ sn = ewin->snap; if (!sn) - return; + { + + if (ewin->props.autosave) + SnapshotEwinSet(ewin, SNAP_MATCH_DEFAULT, SNAP_USE_ALL | SNAP_AUTO); + return; + } if (ewin->props.autosave) sn->track_changes = 1; ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs