summaryrefslogtreecommitdiff
path: root/src/gfx_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx_layout.h')
-rw-r--r--src/gfx_layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_layout.h b/src/gfx_layout.h
index c8f563591..4854be6e5 100644
--- a/src/gfx_layout.h
+++ b/src/gfx_layout.h
@@ -46,7 +46,7 @@ struct FontState {
inline void SetColour(TextColour c)
{
assert(c >= TC_BLUE && c <= TC_BLACK);
- this->cur_colour = c;
+ if ((this->cur_colour & TC_FORCED) == 0) this->cur_colour = c;
}
/**