aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c4
1 files changed, 2 insertions, 2 deletions
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;