Skip to content

Commit

Permalink
* mcc/PrintLineWithStyles.c: fixed warning about unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeckel committed Oct 9, 2018
1 parent 092e2d3 commit 4ca834b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mcc/PrintLineWithStyles.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,9 @@ LONG PrintLine(struct InstData *data, LONG x, struct line_node *line, LONG line_
{
LONG p_length = c_length;
struct TextExtentNew te;
#if defined(__amigaos3__)
BOOL alpha = FALSE;
#endif

SetSoftStyle(rp, ConvertStyle(GetStyle(x, line)), AskSoftStyle(rp));
if(styles != NULL)
Expand All @@ -484,8 +486,10 @@ LONG PrintLine(struct InstData *data, LONG x, struct line_node *line, LONG line_
{
while(colors->column-1 <= x)
{
#if defined(__amigaos3__)
if((colors->color.color & 0xff000000) != 0xff000000)
alpha = TRUE;
#endif

SetColor(data, rp, &colors->color, line->line.Highlight, TRUE);
colors++;
Expand Down

0 comments on commit 4ca834b

Please sign in to comment.