aboutsummaryrefslogtreecommitdiff
path: root/colour.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-04-19 14:44:56 +0100
committerThomas Adam <thomas@xteddy.org>2015-04-19 14:44:56 +0100
commit370cf75458e7736920559870d8ccff1d4bcee755 (patch)
tree417b6bf25806d5e5d1d5d87a39f2431b30a04ca2 /colour.c
parent5e956f114819294e03166e6c66128feb6e0571a2 (diff)
parent4a7587931ce54aa1a94a104480113d658c295b6b (diff)
downloadrtmux-370cf75458e7736920559870d8ccff1d4bcee755.tar.gz
rtmux-370cf75458e7736920559870d8ccff1d4bcee755.tar.bz2
rtmux-370cf75458e7736920559870d8ccff1d4bcee755.zip
Merge branch 'obsd-master'
Diffstat (limited to 'colour.c')
-rw-r--r--colour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colour.c b/colour.c
index b5efd6f1..82f8533a 100644
--- a/colour.c
+++ b/colour.c
@@ -147,7 +147,7 @@ colour_tostring(int c)
static char s[32];
if (c & 0x100) {
- xsnprintf(s, sizeof s, "colour%u", c & ~0x100);
+ xsnprintf(s, sizeof s, "colour%d", c & ~0x100);
return (s);
}