1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-25 11:36:31 +00:00

Use symbolic constants for COLOR related subrs rather than numbers

cases for subrs UNCOLORIZE-BITMAP, COLORIZE-BITMAP, COLOR-8BPPDRAWLINE (which
are not compiled into current code) can have the numbers replaced by the
symbolic constants that are now defined in subrs.h
This commit is contained in:
Nick Briggs
2021-09-19 14:19:42 -07:00
parent 9bb5a4298c
commit f7e40d1ed5

View File

@@ -340,17 +340,17 @@ void OP_subrcall(int subr_no, int argnum) {
C_slowbltchar(args);
break;
case 0215:
case sb_UNCOLORIZE_BITMAP:
POP_SUBR_ARGS;
Uncolorize_Bitmap(args);
break;
case 0216:
case sb_COLORIZE_BITMAP:
POP_SUBR_ARGS;
Colorize_Bitmap(args);
break;
case 0217:
case sb_COLOR_8BPPDRAWLINE:
POP_SUBR_ARGS;
Draw_8BppColorLine(args);
break;