diff options
author | lecoanet | 2005-12-02 13:35:39 +0000 |
---|---|---|
committer | lecoanet | 2005-12-02 13:35:39 +0000 |
commit | 9a2a7bc2ecfe409aa0430008d17a7a6b99c758a6 (patch) | |
tree | 5f0460620906ee36de12742d3c184d720c0daa0f /generic | |
parent | 2de31a9115a9e9a9838e736937596fcabb97c751 (diff) | |
download | tkzinc-9a2a7bc2ecfe409aa0430008d17a7a6b99c758a6.zip tkzinc-9a2a7bc2ecfe409aa0430008d17a7a6b99c758a6.tar.gz tkzinc-9a2a7bc2ecfe409aa0430008d17a7a6b99c758a6.tar.bz2 tkzinc-9a2a7bc2ecfe409aa0430008d17a7a6b99c758a6.tar.xz |
Ooops a typo prevented the previous patch from working.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Color.c b/generic/Color.c index a0c8493..49fadea 100644 --- a/generic/Color.c +++ b/generic/Color.c @@ -705,7 +705,7 @@ ReduceGradient(Tk_Window tkwin, } /*printf("adding a color at end\n");*/ } - grad->actual_colors[grad->num_actual_colors].position = 100; + grad->actual_colors[grad->num_actual_colors-1].position = 100; //printf("Out of ReduceGradient\n"); } |