summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-13 11:56:43 +0000
committernicm <nicm>2017-01-13 11:56:43 +0000
commit22a528905d178551b9a374db2da673664f4203b3 (patch)
treea03cbaddd4a482fe74bcce52f9c6e0614e212a65 /names.c
parent95950bf668cee5a80cd9bbe28d7134a52a240426 (diff)
Make options_get_string return const string.
Diffstat (limited to 'names.c')
-rw-r--r--names.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/names.c b/names.c
index 6a368825..877b2504 100644
--- a/names.c
+++ b/names.c
@@ -121,7 +121,8 @@ static char *
format_window_name(struct window *w)
{
struct format_tree *ft;
- char *fmt, *name;
+ const char *fmt;
+ char *name;
ft = format_create(NULL, 0);
format_defaults_window(ft, w);