mirror of https://github.com/GNOME/gimp.git
probably better to return 1.0 in case of failed parameter checks
svn path=/trunk/; revision=23157
This commit is contained in:
parent
4cba8a2364
commit
9804399087
|
@ -367,7 +367,7 @@ gimp_number_pair_entry_get_ratio (GimpNumberPairEntry *entry)
|
|||
{
|
||||
GimpNumberPairEntryPrivate *priv;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_NUMBER_PAIR_ENTRY (entry), 0.0);
|
||||
g_return_val_if_fail (GIMP_IS_NUMBER_PAIR_ENTRY (entry), 1.0);
|
||||
|
||||
priv = GIMP_NUMBER_PAIR_ENTRY_GET_PRIVATE (entry);
|
||||
|
||||
|
|
Loading…
Reference in New Issue