aboutsummaryrefslogtreecommitdiff
path: root/style.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
commit780dd7ac823215f1c3a468816db18ab745b22d49 (patch)
tree9e57b7b042c5dac2c1df03f07e5acd6464519b83 /style.c
parent2311bbd28a227a8b6e6e52bf30665b37315cad11 (diff)
parent08d21936e4559a92174361d7785ca3e967972edb (diff)
downloadrtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.gz
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.bz2
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.zip
Merge branch 'obsd-master'
Diffstat (limited to 'style.c')
-rw-r--r--style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/style.c b/style.c
index f4a8f05f..26bb75a9 100644
--- a/style.c
+++ b/style.c
@@ -182,7 +182,7 @@ style_update_old(struct options *oo, const char *name, struct grid_cell *gc)
void
style_apply(struct grid_cell *gc, struct options *oo, const char *name)
{
- struct grid_cell *gcp;
+ const struct grid_cell *gcp;
memcpy(gc, &grid_default_cell, sizeof *gc);
gcp = options_get_style(oo, name);
@@ -195,7 +195,7 @@ style_apply(struct grid_cell *gc, struct options *oo, const char *name)
void
style_apply_update(struct grid_cell *gc, struct options *oo, const char *name)
{
- struct grid_cell *gcp;
+ const struct grid_cell *gcp;
gcp = options_get_style(oo, name);
if (gcp->fg != 8)