diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-09-03 19:35:19 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-09-03 19:35:19 +0000 |
| commit | dda8a15c584ef8a5bb0da75af58f74ba895bf52f (patch) | |
| tree | b8fe907b62615c088917c6e90eaf924ec9315c09 /src | |
| parent | reduce force of color tweaking (diff) | |
| download | inkscape-dda8a15c584ef8a5bb0da75af58f74ba895bf52f.tar.gz inkscape-dda8a15c584ef8a5bb0da75af58f74ba895bf52f.zip | |
patch 1786802
(bzr r3673)
Diffstat (limited to 'src')
| -rw-r--r-- | src/style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp index 87151c5a8..df3a470a5 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -2756,7 +2756,7 @@ sp_style_read_iscale24(SPIScale24 *val, gchar const *str) if (sp_svg_number_read_f(str, &value)) { val->set = TRUE; val->inherit = FALSE; - value = CLAMP(value, 0.0f, (gfloat) SP_SCALE24_MAX); + value = CLAMP(value, 0.0, 1.0); val->value = SP_SCALE24_FROM_FLOAT(value); } } |
