summaryrefslogtreecommitdiff
path: root/do_blt.c
diff options
context:
space:
mode:
Diffstat (limited to 'do_blt.c')
-rw-r--r--do_blt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/do_blt.c b/do_blt.c
index ba0c7c7..95ad602 100644
--- a/do_blt.c
+++ b/do_blt.c
@@ -66,7 +66,9 @@ int
InitScroll(XParms xp, Parms p, int64_t reps)
{
InitBltLines();
+ XSetFunction(xp->d, xp->fggc, GXcopy);
XDrawLines(xp->d, xp->w, xp->fggc, points, NUMPOINTS, CoordModeOrigin);
+ XSetFunction(xp->d, xp->fggc, xp->func);
return reps;
}