summaryrefslogtreecommitdiff
path: root/src/clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clip.c')
-rw-r--r--src/clip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clip.c b/src/clip.c
index 66d6964..bbab8b5 100644
--- a/src/clip.c
+++ b/src/clip.c
@@ -641,8 +641,9 @@ void ComputeClipWindow(bool8_32 invert, int w, int wok, ClipData* pClip)
// the same as the colour window.
if (pClip->Count [w] == 0)
{
- pClip->Count [w] = pClip->Count [5];
int i;
+
+ pClip->Count [w] = pClip->Count [5];
for (i = pClip->Count[w] - 1; i >= 0 ; i--)
{
pClip->Left [i][w] = pClip->Left [i][5];