Mercurial > hg > batmud > maputils
changeset 1481:83081f7cdc74
Add a pointer check.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 08 Oct 2014 11:35:06 +0300 |
parents | c9b6ca199dd3 |
children | 3ee7cca9d9f6 |
files | colormap.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/colormap.c Tue Sep 30 22:57:35 2014 +0300 +++ b/colormap.c Wed Oct 08 11:35:06 2014 +0300 @@ -460,7 +460,7 @@ if (p != -1 && (!fmt->supBackColor || p != optBackColor)) fmt->putTagEnd(outFile); - if (!fmt->supBackColor || (c != optBackColor)) + if ((!fmt->supBackColor || c != optBackColor) && fmt->putTagStart) fmt->putTagStart(outFile, c); fprintf(outFile, "%c", k);