This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository ecrire.

View the commit online.

commit de60d7997a7230b63f70783a226433c835d5a71f
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Fri Jul 25 10:57:57 2025 -0500

    ecrire: Don't use bindtextdomain & textdomain if nls is disabled
    
    When building with -Dnls=false, the bindtextdomain & textdomain
    functions should not be called
---
 src/bin/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/main.c b/src/bin/main.c
index 9b38292..a45647c 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -868,8 +868,10 @@ elm_main(int argc, char **argv)
    elm_app_info_set(elm_main, "ecrire", "COPYING");
 
    setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
    bindtextdomain(PACKAGE, LOCALE_DIR);
    textdomain(PACKAGE);
+#endif
 
    ecrire_cfg_init(PACKAGE_NAME);
    ecrire_cfg_load();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to