Update of /cvsroot/ufraw/ufraw In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv16251
Modified Files: ufraw_preview.c Log Message: Fix segfault when minimizing raw histogram on netbook displays. Index: ufraw_preview.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v retrieving revision 1.336 retrieving revision 1.337 diff -u -d -r1.336 -r1.337 --- ufraw_preview.c 11 Feb 2010 07:11:06 -0000 1.336 +++ ufraw_preview.c 15 Feb 2010 07:50:14 -0000 1.337 @@ -5426,7 +5426,7 @@ preview_height = (uf->rotatedHeight+1) / scale; curveeditorHeight = screen.height<900 ? 192 : 256; data->HisMinHeight = screen.height<900 ? 16*(screen.height-600)/50 : 96; - if (data->HisMinHeight<0) data->HisMinHeight = 0; + if (data->HisMinHeight<=0) data->HisMinHeight = 2; previewHBox = GTK_BOX(gtk_hbox_new(FALSE, 0)); gtk_container_add(GTK_CONTAINER(previewWindow), GTK_WIDGET(previewHBox)); previewVBox = gtk_vbox_new(FALSE, 0); ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs