Skip to content

Fix unnecessary ifdef when dealing with gettext #1346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

ychin
Copy link
Member

@ychin ychin commented Nov 27, 2022

When adding support for gettext in #1070, a MacVim-specific ifdef was added unnecessary around bindtextdomain. That ifdef isn't actually necessary and it seems to have been done due to an incorrect understanding of the ifdef logic there regarding FEAT_GETTEXT. Just remove it to clean it up. Localization should still work.

When adding support for gettext in macvim-dev#1070, a MacVim-specific ifdef was
added unnecessary around `bindtextdomain`. That ifdef isn't actually
necessary and it seems to have been done due to an incorrect
understanding of the ifdef logic there regarding `FEAT_GETTEXT`. Just
remove it to clean it up. Localization should still work.
@ychin ychin force-pushed the fix-unnecessary-bindtextdomain-ifdef branch from 0406fcf to c2bb879 Compare January 2, 2023 23:25
@ychin ychin merged commit 5933cc8 into macvim-dev:master Jan 18, 2023
@ychin ychin deleted the fix-unnecessary-bindtextdomain-ifdef branch January 18, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants