Make options_get_string return const string.

This commit is contained in:
nicm
2017-01-13 11:56:43 +00:00
parent 95950bf668
commit 22a528905d
6 changed files with 25 additions and 23 deletions

View File

@ -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);