summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-20 17:50:31 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-24 00:43:55 +0200
commita57401251cd49841f892139144cc6b3c48f53fb9 (patch)
treef43f3f490c2485e33833802fd47d33bfac3aa7e3 /test/lib
parent09fbc3882ea919d67427ec7c90c8051871145074 (diff)
Move tell_gettext_about_language_change() up to test.cc
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/i18n_test.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/lib/i18n_test.cc b/test/lib/i18n_test.cc
index b4fc1d98a..3775861f8 100644
--- a/test/lib/i18n_test.cc
+++ b/test/lib/i18n_test.cc
@@ -38,14 +38,6 @@ using std::string;
#define numbers_de BOOST_CHECK_EQUAL(dcp::locale_convert<string>(1.23), "1,23");
-/* From https://www.gnu.org/software/gettext/manual/gettext.html */
-static void tell_gettext_about_language_change()
-{
- extern int _nl_msg_cat_cntr;
- _nl_msg_cat_cntr++;
-}
-
-
static void restore()
{
dcpomatic_setup_c_and_gettext_i18n("C");