mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
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:
parent
7e08679f1b
commit
262452d0b1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user