summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 6aaf971..da930a7 100644
--- a/degesch.c
+++ b/degesch.c
@@ -1500,7 +1500,7 @@ serialize_configuration (struct app_context *ctx, struct str *output)
/// Builds a color pair for 256-color terminals with a 16-color backup value
#define COLOR_256(name, c256) \
- ((COLOR_ ## name) & 0xFFFF | ((c256 & 0xFFFF) << 16))
+ (((COLOR_ ## name) & 0xFFFF) | ((c256 & 0xFFFF) << 16))
static struct
{