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.
This commit is contained in:
Kurtis Rader 2016-06-28 21:25:25 -07:00
parent 7e08679f1b
commit 262452d0b1

View File

@ -160,10 +160,10 @@ static mode_t get_umask() {
return res; 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"; } 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) { static void handle_timezone(const wchar_t *env_var_name) {
debug(2, L"handle_timezone() called in response to '%ls' changing", 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); const env_var_t val = env_get_string(env_var_name, ENV_EXPORT);