diff options
author | James Bursa <james@netsurf-browser.org> | 2004-03-14 22:50:28 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-03-14 22:50:28 +0000 |
commit | 7f534336b07527f053f10296e4dd97c303fa2a86 (patch) | |
tree | 2b88ab0e470751265ba631f2b98ebe0a812813e5 /desktop/netsurf.c | |
parent | f606bc6219a30a952fe3710cfb9571a51aa84b12 (diff) | |
download | netsurf-7f534336b07527f053f10296e4dd97c303fa2a86.tar.gz netsurf-7f534336b07527f053f10296e4dd97c303fa2a86.tar.bz2 |
[project @ 2004-03-14 22:50:28 by bursa]
Add setlocale() call in init for better toupper etc. for text-transform.
svn path=/import/netsurf/; revision=622
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index c34073503..94234942e 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -6,6 +6,7 @@ * Copyright 2004 James Bursa <bursa@users.sourceforge.net> */ +#include <locale.h> #include <stdbool.h> #include <stdlib.h> #include "netsurf/utils/config.h" @@ -52,6 +53,7 @@ void netsurf_init(int argc, char** argv) { stdout = stderr; gui_init(argc, argv); + setlocale(LC_ALL, ""); fetch_init(); cache_init(); fetchcache_init(); |