From 262452d0b14be8c1c6694b6476dbd1bc1e5f29d6 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 28 Jun 2016 21:25:25 -0700 Subject: [PATCH] fix stupid copy/paste comment error from prev commit When I fixed handling the TZ env var in commit dda890c I introduced a couple of silly copy/paste comment errors. This corrects those comments. --- src/env.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.cpp b/src/env.cpp index 8373efe0e..73bdb6860 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -160,10 +160,10 @@ static mode_t get_umask() { return res; } -/// Check if the specified variable is a locale variable. +/// Check if the specified variable is a timezone variable. static bool var_is_timezone(const wcstring &key) { return key == L"TZ"; } -/// Properly sets all locale information. +/// Properly sets all timezone information. static void handle_timezone(const wchar_t *env_var_name) { debug(2, L"handle_timezone() called in response to '%ls' changing", env_var_name); const env_var_t val = env_get_string(env_var_name, ENV_EXPORT);