wmix: fixed some typo's.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
This commit is contained in:
parent
4bd558d111
commit
f6531a0130
|
@ -43,7 +43,7 @@
|
||||||
" -e <name> exclude channel, can be used many times\n" \
|
" -e <name> exclude channel, can be used many times\n" \
|
||||||
" -f <file> parse this config [~/.wmixrc]\n" \
|
" -f <file> parse this config [~/.wmixrc]\n" \
|
||||||
" -h print this help\n" \
|
" -h print this help\n" \
|
||||||
" -k disable grabing volume control keys\n" \
|
" -k disable grabbing volume control keys\n" \
|
||||||
" -m <dev> oss mixer device [/dev/mixer]\n" \
|
" -m <dev> oss mixer device [/dev/mixer]\n" \
|
||||||
" or alsa card name [default]\n" \
|
" or alsa card name [default]\n" \
|
||||||
" -o <num> display osd on this monitor number or name [0]\n" \
|
" -o <num> display osd on this monitor number or name [0]\n" \
|
||||||
|
@ -152,7 +152,7 @@ void parse_cli_options(int argc, char **argv)
|
||||||
|
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
case '?':
|
case '?':
|
||||||
fprintf(stderr, "wmix:error: unknow option '-%c'\n", optopt);
|
fprintf(stderr, "wmix:error: unknown option '-%c'\n", optopt);
|
||||||
error_found = true;
|
error_found = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ void config_read(void)
|
||||||
fp = fopen(filename, "r");
|
fp = fopen(filename, "r");
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
if (config.file != NULL) {
|
if (config.file != NULL) {
|
||||||
/* The config file was explicitely specified by user, tell him there's a problem */
|
/* The config file was explicitly specified by user, tell him there's a problem */
|
||||||
fprintf(stderr, "wmix: error, could not load configuration file \"%s\"\n", filename);
|
fprintf(stderr, "wmix: error, could not load configuration file \"%s\"\n", filename);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
@ -395,7 +395,7 @@ void config_read(void)
|
||||||
fprintf(stderr, "wmix:error: value '%s' not understood for wheelstep in %s at line %d\n",
|
fprintf(stderr, "wmix:error: value '%s' not understood for wheelstep in %s at line %d\n",
|
||||||
value, filename, line);
|
value, filename, line);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "wmix:warning: unknow keyword '%s' at line %d of \"%s\", ignored\n",
|
fprintf(stderr, "wmix:warning: unknown keyword '%s' at line %d of \"%s\", ignored\n",
|
||||||
keyword, line, filename);
|
keyword, line, filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* mmkeys.c: functions related to grabing the Multimedia Keys on keyboard
|
* mmkeys.c: functions related to grabbing the Multimedia Keys on keyboard
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in a new issue