diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-16 01:46:12 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-16 01:51:27 -0800 |
commit | 81cdceddd33bf831d206f6cd167c6bae5ef81225 (patch) | |
tree | 526b1a877630b6081d6563502724f5019aaa89e9 | |
parent | 5b506499c1abafddeba13cb2edd37611a47f2379 (diff) |
Remove a debug() guarded by a surprising get_is_interactive
get_is_interactive can crash if proc_init has not been called.
Fixes #2280
-rw-r--r-- | src/env.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/env.cpp b/src/env.cpp index 527ed253..d951036a 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -294,11 +294,6 @@ static void handle_locale() _nl_msg_cat_cntr++; fish_dcgettext("fish", "Changing language to English", LC_MESSAGES); - - if (get_is_interactive()) - { - debug(2, _(L"Changing language to English")); - } } } |