From bf9c933caed5c74be3c9c4da02d7c57a9dcf091d Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 28 Oct 2015 09:51:55 +0000 Subject: Like options, move the environ struct into environ.c. --- format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'format.c') diff --git a/format.c b/format.c index 0add71e5..0d9fbc7f 100644 --- a/format.c +++ b/format.c @@ -631,9 +631,9 @@ format_find(struct format_tree *ft, const char *key, int modifiers) if (~modifiers & FORMAT_TIMESTRING) { envent = NULL; if (ft->s != NULL) - envent = environ_find(&ft->s->environ, key); + envent = environ_find(ft->s->environ, key); if (envent == NULL) - envent = environ_find(&global_environ, key); + envent = environ_find(global_environ, key); if (envent != NULL) { found = envent->value; goto found; -- cgit