Check the prefs for trust_dirty_flag; if we don't trust it, save no

matter what.
This commit is contained in:
Zach Beane 1999-09-23 20:34:30 +00:00
parent 51d6de9b6b
commit 6f022ac3bc

View file

@ -415,7 +415,7 @@ file_save_callback (GtkWidget *w,
if (!gdisplay) return;
/* Only save if the gimage has been modified */
if (gdisplay->gimage->dirty != 0)
if (!trust_dirty_flag || gdisplay->gimage->dirty != 0)
{
if (gdisplay->gimage->has_filename == FALSE)
{