summaryrefslogtreecommitdiffstats
path: root/colour.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-13 21:39:21 +0000
committernicm <nicm>2019-03-13 21:39:21 +0000
commit10f0094be9157eba9d6dad8eace00641de960748 (patch)
tree0c6c13c6b2ec14745ec28fff12a0dbb156062b08 /colour.c
parent6dffbc4849e856025bc491c761e6422b996535a0 (diff)
The pane's style should be initialized to default before parsing the
argument.
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 a0274dd3..eaee6058 100644
--- a/colour.c
+++ b/colour.c
@@ -160,7 +160,7 @@ colour_tostring(int c)
case 97:
return ("brightwhite");
}
- return (NULL);
+ return ("invalid");
}
/* Convert colour from string. */