Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv14310

Modified Files:
        ufraw_preview.c 
Log Message:
Fix a crash when lcms profile file is not found.


Index: ufraw_preview.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -d -r1.356 -r1.357
--- ufraw_preview.c     12 Aug 2011 03:15:05 -0000      1.356
+++ ufraw_preview.c     22 Aug 2011 03:45:56 -0000      1.357
@@ -938,7 +938,11 @@
         update_crop_ranges(data, FALSE);
         CFG->autoCrop = enabled_state;
     }
+    // We need to freeze the dialog in case an error message pops up in
+    // lcms error handler.
+    data->FreezeDialog = TRUE;
     ufraw_developer_prepare(data->UF, display_developer);
+    data->FreezeDialog = FALSE;
     render_init(data);
 
     /* This will trigger the untiled phases if necessary. The progress bar


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to