diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-08 16:43:36 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2005-11-08 16:43:36 +0000 |
commit | 9dc666526f6e2ddab539763cdd304ff254f67d47 (patch) | |
tree | 26697df10d8db9a7ba133242e91eeca930f0208e /seq | |
parent | d9e433ad3e96ce31280416174f6ab8d0dfb30a03 (diff) | |
download | alsa-utils-9dc666526f6e2ddab539763cdd304ff254f67d47.tar.gz |
Disable NLS support when --disable-nls is passed
Disable NLS support when --disable-nls is passed (bug#1514).
Diffstat (limited to 'seq')
-rw-r--r-- | seq/aconnect/aconnect.c | 2 | ||||
-rw-r--r-- | seq/aseqnet/aseqnet.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c index 2d40bf5..bab501a 100644 --- a/seq/aconnect/aconnect.c +++ b/seq/aconnect/aconnect.c @@ -279,8 +279,10 @@ int main(int argc, char **argv) snd_seq_port_subscribe_t *subs; snd_seq_addr_t sender, dest; +#ifdef ENABLE_NLS setlocale(LC_ALL, ""); textdomain(PACKAGE); +#endif while ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) { switch (c) { diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c index 35b5cc8..9cb61c2 100644 --- a/seq/aseqnet/aseqnet.c +++ b/seq/aseqnet/aseqnet.c @@ -98,8 +98,10 @@ int main(int argc, char **argv) int port = DEFAULT_PORT; char *source = NULL, *dest = NULL; +#ifdef ENABLE_NLS setlocale(LC_ALL, ""); textdomain(PACKAGE); +#endif while ((c = getopt_long(argc, argv, "p:s:d:vi", long_option, NULL)) != -1) { switch (c) { |