]> git.eshelyaron.com Git - emacs.git/commit
Only set LANG if the ID is valid
authorAlan Third <alan@idiocy.org>
Sun, 14 Nov 2021 15:09:43 +0000 (15:09 +0000)
committerAlan Third <alan@idiocy.org>
Tue, 16 Nov 2021 20:52:10 +0000 (20:52 +0000)
commit058c012f73d4abe014ace44b46c23babd48aebbc
treea2bde1cd5b18e13ccc6e730af3f2eb31867240fd
parent97c23204b981d5ad88ea3c8ddff0f726798aff1b
Only set LANG if the ID is valid

* src/nsterm.m (ns_init_locale): Check the provided locale identifier
is available before trying to use it.
src/nsterm.m