diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/interface.c | 2 | ||||
-rw-r--r-- | src/interface.h | 2 | ||||
-rw-r--r-- | src/pa-sink-ctl.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c index c7d6d5e..3086ce1 100644 --- a/src/interface.c +++ b/src/interface.c @@ -24,7 +24,7 @@ #include <glib.h> #include <pulse/pulseaudio.h> -#include <ncurses.h> +#include <curses.h> #include "interface.h" #include "ctl.h" diff --git a/src/interface.h b/src/interface.h index ef7cdc2..61ce990 100644 --- a/src/interface.h +++ b/src/interface.h @@ -22,7 +22,7 @@ #include <glib.h> #include <pulse/pulseaudio.h> -#include <ncurses.h> +#include <curses.h> #define SELECTED_MAIN_CTL -1 #define H_MSG_BOX 3 diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c index 4e17337..5c0f7fc 100644 --- a/src/pa-sink-ctl.c +++ b/src/pa-sink-ctl.c @@ -21,6 +21,7 @@ #include <pulse/pulseaudio.h> #include <pulse/glib-mainloop.h> #include <string.h> +#include <locale.h> #include "ctl.h" #include "interface.h" @@ -570,6 +571,7 @@ main(int argc, char** argv) pa_mainloop_api *mainloop_api = NULL; pa_glib_mainloop *m = NULL; + setlocale(LC_ALL, ""); memset(&ctx, 0, sizeof ctx); ctx.sink_list = NULL; |