From 3c5b5fbc0a5f7d1652c6b59f2ae324f725662a0e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 22 Feb 2009 01:40:45 -0400 Subject: Fix for systems that don't build with gettext --- src/main.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 89a438c7..4f99821a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -75,7 +75,9 @@ int main(int argc, char * argv[], char * envp[]) std::signal(SIGINT, sigint_handler); std::signal(SIGPIPE, sigpipe_handler); +#if defined(HAVE_GETTEXT) ::textdomain("ledger"); +#endif // Create the session object, which maintains nearly all state relating to // this invocation of Ledger; and register all known journal parsers. -- cgit v1.2.3