diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 20:33:31 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 20:33:31 +0000 |
| commit | 9af2ca73408fc529ecff7f774d6c0bf2e156aec7 (patch) | |
| tree | 6457e128d32928f36d30c9743d31ab399c18f2f0 /apps/metadata/mod.c | |
| parent | a912a9925948c7fa2cd06f6dfe15a26c937b5657 (diff) | |
| download | rockbox-9af2ca73408fc529ecff7f774d6c0bf2e156aec7.zip rockbox-9af2ca73408fc529ecff7f774d6c0bf2e156aec7.tar.gz rockbox-9af2ca73408fc529ecff7f774d6c0bf2e156aec7.tar.bz2 rockbox-9af2ca73408fc529ecff7f774d6c0bf2e156aec7.tar.xz | |
Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/mod.c')
| -rw-r--r-- | apps/metadata/mod.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/apps/metadata/mod.c b/apps/metadata/mod.c index 9595729..cbc9fc1 100644 --- a/apps/metadata/mod.c +++ b/apps/metadata/mod.c @@ -50,38 +50,38 @@ bool get_mod_metadata(int fd, struct mp3entry* id3) return false; /* Mod type checking based on MikMod */ - /* Protracker and variants */ - if ((!memcmp(id, "M.K.", 4)) || (!memcmp(id, "M!K!", 4))) { + /* Protracker and variants */ + if ((!memcmp(id, "M.K.", 4)) || (!memcmp(id, "M!K!", 4))) { is_mod_file = true; - } - - /* Star Tracker */ - if (((!memcmp(id, "FLT", 3)) || (!memcmp(id, "EXO", 3))) && - (isdigit(id[3]))) { - char numchn = id[3] - '0'; - if (numchn == 4 || numchn == 8) + } + + /* Star Tracker */ + if (((!memcmp(id, "FLT", 3)) || (!memcmp(id, "EXO", 3))) && + (isdigit(id[3]))) { + char numchn = id[3] - '0'; + if (numchn == 4 || numchn == 8) is_mod_file = true; - } + } - /* Oktalyzer (Amiga) */ - if (!memcmp(id, "OKTA", 4)) { + /* Oktalyzer (Amiga) */ + if (!memcmp(id, "OKTA", 4)) { is_mod_file = true; - } + } - /* Oktalyser (Atari) */ - if (!memcmp(id, "CD81", 4)) { + /* Oktalyser (Atari) */ + if (!memcmp(id, "CD81", 4)) { is_mod_file = true; - } + } - /* Fasttracker */ - if ((!memcmp(id + 1, "CHN", 3)) && (isdigit(id[0]))) { + /* Fasttracker */ + if ((!memcmp(id + 1, "CHN", 3)) && (isdigit(id[0]))) { is_mod_file = true; - } - /* Fasttracker or Taketracker */ - if (((!memcmp(id + 2, "CH", 2)) || (!memcmp(id + 2, "CN", 2))) - && (isdigit(id[0])) && (isdigit(id[1]))) { + } + /* Fasttracker or Taketracker */ + if (((!memcmp(id + 2, "CH", 2)) || (!memcmp(id + 2, "CN", 2))) + && (isdigit(id[0])) && (isdigit(id[1]))) { is_mod_file = true; - } + } /* Don't try to play if we can't find a known mod type * (there are mod files which have nothing to do with music) */ |