diff options
author | battlmonstr <battlmonstr@users.noreply.github.com> | 2018-08-01 11:33:30 +0200 |
---|---|---|
committer | battlmonstr <battlmonstr@users.noreply.github.com> | 2018-08-01 12:00:13 +0200 |
commit | e92f1bb271b6ca5ab714d2a21725b351f18c2369 (patch) | |
tree | b30505d4052d51e810033abead6821c0696ca7fe /src/clint.py | |
parent | a2253744c9bcd9229be9533540075e977f0be2cd (diff) | |
download | rneovim-e92f1bb271b6ca5ab714d2a21725b351f18c2369.tar.gz rneovim-e92f1bb271b6ca5ab714d2a21725b351f18c2369.tar.bz2 rneovim-e92f1bb271b6ca5ab714d2a21725b351f18c2369.zip |
Fix crash in lang_init() on macOS if lang_region = NULL
This is a regression after PR #7704:
mac: Set $LANG based on the system locale
CFStringGetCStringPtr sometimes returns "lang_region" = NULL,
in this case CFStringGetCString is used instead,
which places output to "buf", but "buf" was not used
by the code.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions