# HG changeset patch # User Matti Hamalainen # Date 1411598782 -10800 # Node ID dbe35d78e6218e39f53c0e9022469d2790c61327 # Parent ffb795582a91e8b1ca9247aa555753e92fb11ded Cleanup. diff -r ffb795582a91 -r dbe35d78e621 sidinfo.c --- 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) {