diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-05-13 15:18:17 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-05-13 15:18:17 +0200 |
commit | 3d5b13e82c314f1c70e1bc44cfe5291017b4bd79 (patch) | |
tree | ae0257733a360b461be94c8dcd23469366acad5b /colorize.c | |
parent | a883b5cd17e061bc3ec889111b456c28792205a5 (diff) | |
download | colorize-3d5b13e82c314f1c70e1bc44cfe5291017b4bd79.tar.gz colorize-3d5b13e82c314f1c70e1bc44cfe5291017b4bd79.tar.bz2 |
Add note in line printing function
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -785,6 +785,7 @@ print_line (const struct color **colors, bool bold, const char *const line, unsi print_clean (line); else { + /* Foreground color code is guaranteed to be set when background color code is present. */ if (colors[BACKGROUND] && colors[BACKGROUND]->code) printf ("\033[%s", colors[BACKGROUND]->code); if (colors[FOREGROUND]->code) |