summaryrefslogtreecommitdiff
path: root/mfb/maskbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'mfb/maskbits.h')
-rw-r--r--mfb/maskbits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfb/maskbits.h b/mfb/maskbits.h
index 5ca79c929..654ab3d0e 100644
--- a/mfb/maskbits.h
+++ b/mfb/maskbits.h
@@ -396,7 +396,7 @@ extern PixelType mfbGetmask(int);
else \
{ \
register int d = PPW-(x); \
- *(pdst) = (*(pdst) & endtab[x]) | (SCRRIGHT((src), x)); \
+ *(pdst) = (*(pdst) & mfbGetendtab(x)) | (SCRRIGHT((src), x)); \
(pdst)[1] = ((pdst)[1] & mfbGetstarttab(n)) | \
(SCRLEFT(src, d) & mfbGetendtab(n)); \
} \