From: Lutz M?l. <lu...@us...> - 2004-03-23 20:07:10
|
Update of /cvsroot/gphoto/gphoto2/gphoto2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16494/gphoto2 Modified Files: gphoto2-cmd-config.c Log Message: 2004-03-23 Lutz Mueller <lu...@us...> Patch by Michael Haardt <mi...@mo...>: * gphoto2/gphoto2-cmd-config.c: Allow ranges like 1.5 ... 5.5 with increments of 1. Index: gphoto2-cmd-config.c =================================================================== RCS file: /cvsroot/gphoto/gphoto2/gphoto2/gphoto2-cmd-config.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- gphoto2-cmd-config.c 16 Aug 2003 20:00:27 -0000 1.7 +++ gphoto2-cmd-config.c 23 Mar 2004 19:56:39 -0000 1.8 @@ -489,7 +489,7 @@ CHECK (gp_widget_get_range (range, &min, &max, &increment)); - if (!get_digits (increment)) + if (!get_digits (increment) && !get_digits (min) && !get_digits (max)) return (show_range_int (cmd_config, range)); else return (show_range_float (cmd_config, range)); |