diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-05-25 10:26:22 +0200 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2009-05-25 10:26:22 +0200 |
commit | 5b6b5fd14bd5b0f6b07332657fc09b0a7255dda9 (patch) | |
tree | 9ab445378b65f81ff362076cff8ffd35947baefd /include | |
parent | bde1d198c11662b3ce10c4afd87ce67c2e50ae9a (diff) | |
download | alsa-utils-5b6b5fd14bd5b0f6b07332657fc09b0a7255dda9.tar.gz |
alsamixer: show channel names for multichannel controls
For multichannel mixer controls, add the channel name to each screen
control.
Also make some other small changes.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 2 | ||||
-rw-r--r-- | include/gettext.h | 8 | ||||
-rw-r--r-- | include/gettext_curses.h | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 112e5ce..7a3968d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,4 +1,4 @@ -noinst_HEADERS=version.h gettext.h +noinst_HEADERS=version.h gettext.h gettext_curses.h version.h: stamp-vh @: diff --git a/include/gettext.h b/include/gettext.h index c2bfe96..d8a1467 100644 --- a/include/gettext.h +++ b/include/gettext.h @@ -1,7 +1,13 @@ #ifndef __MY_GETTEXT_H #define __MY_GETTEXT_H -#if ENABLE_NLS +#ifdef USES_CURSES +#define ENABLE_NLS_TEST ENABLE_NLS_IN_CURSES +#else +#define ENABLE_NLS_TEST ENABLE_NLS +#endif + +#if ENABLE_NLS_TEST # include <libintl.h> #else # define gettext(msgid) (msgid) diff --git a/include/gettext_curses.h b/include/gettext_curses.h new file mode 100644 index 0000000..f1c4041 --- /dev/null +++ b/include/gettext_curses.h @@ -0,0 +1,2 @@ +#define USES_CURSES +#include "gettext.h" |