diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 22:49:35 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 22:49:35 +0000 |
commit | 273f4860fe2c2a8088226dd59a05ae773b6600df (patch) | |
tree | 7350fb6280ac4f42867b6ac1c06c7e517b3a6cb2 /src/common | |
parent | 6af18b3dbc67ab3166d20810a6a04e3651e6a28d (diff) | |
download | weechat-273f4860fe2c2a8088226dd59a05ae773b6600df.zip |
Fixed bug for locale directory
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Makefile.am | 2 | ||||
-rw-r--r-- | src/common/weechat.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 743e8cb51..c2ba025b2 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + noinst_LIBRARIES = lib_weechat_main.a lib_weechat_main_a_SOURCES = weechat.c \ diff --git a/src/common/weechat.c b/src/common/weechat.c index 632ef1c43..9a31625ff 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -231,7 +231,7 @@ main (int argc, char *argv[]) t_irc_server *ptr_server; setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, "/usr/share/locale"); + bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); /* pre-initiliaze interface */ |