Mercurial > hg > sidinfo
changeset 3:dbe35d78e621
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 25 Sep 2014 01:46:22 +0300 |
parents | ffb795582a91 |
children | ea774012d049 |
files | sidinfo.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Thu Sep 25 01:46:05 2014 +0300 +++ b/sidinfo.c Thu Sep 25 01:46:22 2014 +0300 @@ -97,7 +97,7 @@ printf( "\n" "Available fields:\n"); - + for (index = n = 0; index < noptPSFlags; index++) { const PSFOption *opt = &optPSFlags[index]; @@ -152,7 +152,7 @@ case -2: THERR("Flag '%s' is ambiguous.\n", opt); return FALSE; - + default: *fields |= optPSFlags[found].flag; return TRUE; @@ -194,7 +194,7 @@ start = end + 1; } - + //fprintf(stderr, "%08x\n", optFields); } break; @@ -279,7 +279,7 @@ THERR("Error allocating temporary data buffer of %d bytes.\n", PSID_BUFFER_SIZE); goto error; } - + // Read PSID header in if (!th_fread_str(inFile, (uint8_t *) psid->magic, PSID_MAGIC_LEN) || !th_fread_be16(inFile, &psid->version) || @@ -431,7 +431,7 @@ vfprintf(outFile, fmt, ap); va_end(ap); - + fprintf(outFile, "\n"); } } @@ -453,7 +453,7 @@ PR( 9, "%s", NULL, psid->sidName); PR(10, "%s", NULL, psid->sidAuthor); - PR(11, "%s", NULL, psid->sidCopyright); + PR(11, "%s", NULL, psid->sidCopyright); if (flags & PSF_HASH) {