diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-22 07:48:00 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-06-22 07:48:00 +0200 |
| commit | 20e95d917417e7b86eb602362e4c6d3bb17a0dcb (patch) | |
| tree | 3e27ce70020c067ad44612c043a590c471209a2a /swt.c | |
| parent | 3de939e498fa7899fa6cb025ec62be778ad75fcd (diff) | |
implement new bold drawing method
Diffstat (limited to 'swt.c')
| -rw-r--r-- | swt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ get_color(uint32_t i, ushort mode) return i; } - if ((mode & ATTR_BOLD)) { + if ((mode & ATTR_BOLD) && i < 8) { if (!BETWEEN(i + 8, 0, sizeof(colors) / sizeof(uint32_t))) { return colors[i]; } |