From 8cb4bb619d777022a55255c5fa17a1a55a270ff3 Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Wed, 31 May 2000 18:21:27 +0000 Subject: [PATCH] Handle locale settings. --- src/genauth.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/genauth.c b/src/genauth.c index 976e3108..1d264576 100644 --- a/src/genauth.c +++ b/src/genauth.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + $Id: genauth.c,v 1.7 2000/05/31 18:21:27 zarq Exp $ */ #include "config.h" @@ -37,6 +39,10 @@ int main(int argc, char **argv) int bits, c, i, bytes; unsigned char *p; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); + if(argc > 2 || (argc == 2 && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")))) { fprintf(stderr, _("Usage: %s bits\n"), argv[0]); -- 2.39.5