diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-17 03:36:03 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-17 03:36:03 -0400 |
commit | 7f0e34424af36acb4846497f6a847d4008dec48f (patch) | |
tree | 4c1448171cdd62964d1b241ffe9e966b2d2a96a8 | |
parent | 52553dcc13aec4669dab5483ce268a2b1d4bf4f1 (diff) | |
download | bw-atari8-tools-7f0e34424af36acb4846497f6a847d4008dec48f.tar.gz |
listbas: don't print duplicate color codes for "(" ops.
-rw-r--r-- | listbas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -422,7 +422,7 @@ void print_mixed_case(const char *name) { while(( c = *name++)) { if(c >= 'A' && c <= 'Z') c |= 0x20; - if(color && c == '(') color_on(color_op); + if(color && c == '(' && cur_color != color_op) color_on(color_op); outchr(c); } } |