diff options
author | Bradford Boyle <bradfordboyle@users.noreply.github.com> | 2018-05-25 06:57:47 -0700 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-05-25 13:57:47 +0000 |
commit | 4d4e62db92c6ad5647d6d5701b1c3f97dfe645c5 (patch) | |
tree | 831014de643159158e51949b73b5bcc655c98c70 /src/locale.rs | |
parent | 24e8a19e7d981fbc8853891ad4a17a9de2ac36bd (diff) | |
download | alacritty-4d4e62db92c6ad5647d6d5701b1c3f97dfe645c5.tar.gz alacritty-4d4e62db92c6ad5647d6d5701b1c3f97dfe645c5.zip |
Fix locale_id for older versions of OS X (<= 10.11)
This fixes a regression introduced in https://github.com/jwilm/alacritty/pull/1087/files#diff-5ffadea12561d6964b05ac2a0b8e388fL33.
Diffstat (limited to 'src/locale.rs')
-rw-r--r-- | src/locale.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale.rs b/src/locale.rs index c9184e88..9fcd2db2 100644 --- a/src/locale.rs +++ b/src/locale.rs @@ -47,7 +47,7 @@ pub fn set_locale_environment() { let identifier: *const Object = msg_send![locale, localeIdentifier]; let identifier_str = nsstring_as_str(identifier).to_owned(); let _ : () = msg_send![identifier, release]; - identifier_str + identifier_str + ".UTF-8" }; let _ : () = msg_send![locale, release]; locale_id |