OSDN Git Service
(root)
/
android-x86
/
external-alsa-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0a124
)
BAT: Use colon instead of comma for separation
author
Lu, Han
<han.lu@intel.com>
Tue, 20 Oct 2015 08:45:46 +0000
(16:45 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 20 Oct 2015 09:06:24 +0000
(11:06 +0200)
Use colon instead of comma to separate frequency parameters, for
in several locale comma may be handled as decimal point.
Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
bat/bat.c
patch
|
blob
|
history
diff --git
a/bat/bat.c
b/bat/bat.c
index
1af5c37
..
dd34505
100644
(file)
--- a/
bat/bat.c
+++ b/
bat/bat.c
@@
-74,7
+74,7
@@
static void get_sine_frequencies(struct bat *bat, char *freq)
{
char *tmp1;
- tmp1 = strchr(freq, '
,
');
+ tmp1 = strchr(freq, '
:
');
if (tmp1 == NULL) {
bat->target_freq[1] = bat->target_freq[0] = atof(optarg);
} else {