Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv8214

Modified Files:
        ufraw_preview.c 
Log Message:
Better fix for latest commit.

Index: ufraw_preview.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_preview.c,v
retrieving revision 1.337
retrieving revision 1.338
diff -u -d -r1.337 -r1.338
--- ufraw_preview.c     15 Feb 2010 07:50:14 -0000      1.337
+++ ufraw_preview.c     15 Feb 2010 10:15:08 -0000      1.338
@@ -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 = 2;
+    if (data->HisMinHeight<2) 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to