From ea5f3925ea8fe1ab46c58b81e8809e641a7fe182 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 16 Nov 2017 21:29:42 +0800 Subject: [PATCH] drop USE_GETTEXT macro and use only HAVE_GETTEXT There is no clear rationale for the two separate macros. --- src/complete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/complete.cpp b/src/complete.cpp index ad02d7ede..8a0504c89 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -58,7 +58,7 @@ /// The special cased translation macro for completions. The empty string needs to be special cased, /// since it can occur, and should not be translated. (Gettext returns the version information as /// the response). -#ifdef USE_GETTEXT +#ifdef HAVE_GETTEXT static const wchar_t *C_(const wcstring &s) { return s.empty() ? L"" : wgettext(s.c_str()).c_str(); }