mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
Whitespace cleanup: Remove tabs
This patch removes all tabs hidden inside the source tree and replaces
them with 4 spaces.
Command used for this:
find . -type d \( -name bluetooth \) -prune -o
-regex '\(.*\.[hc]\|.*\.cc\)' -a -not -name 'reserve*.[ch]'
-a -not -name 'gnt*.h' -a -not -name 'adrian*'
-exec sed -i -e 's/\t/ /g' {} \;
The excluded files are mirrored files from external sources containing
tabs.
This commit is contained in:
parent
b41d4bfef1
commit
aab63a3499
14 changed files with 106 additions and 106 deletions
|
|
@ -431,15 +431,15 @@ int pa_sndfile_format_from_string(const char *name) {
|
|||
|
||||
pa_assert_se(sf_command(NULL, SFC_GET_FORMAT_MAJOR, &fi, sizeof(fi)) == 0);
|
||||
|
||||
/* First try to match via full type string */
|
||||
/* First try to match via full type string */
|
||||
if (strcasecmp(name, fi.name) == 0)
|
||||
return fi.format;
|
||||
|
||||
/* Then, try to match via the full extension */
|
||||
/* Then, try to match via the full extension */
|
||||
if (strcasecmp(name, fi.extension) == 0)
|
||||
return fi.format;
|
||||
|
||||
/* Then, try to match via the start of the type string */
|
||||
/* Then, try to match via the start of the type string */
|
||||
if (strncasecmp(name, fi.name, strlen(name)) == 0)
|
||||
return fi.format;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue