# HG changeset patch # User Matti Hamalainen # Date 1578913897 -7200 # Node ID 629876cc0540d42d2260397623c67f0b1ef5c462 # Parent e35e15f07c66f0efc83c3f61720cc12b752ec817 Indentation cosmetics. diff -r e35e15f07c66 -r 629876cc0540 sidlib.c --- a/sidlib.c Mon Jan 13 13:11:29 2020 +0200 +++ b/sidlib.c Mon Jan 13 13:11:37 2020 +0200 @@ -562,7 +562,8 @@ dbh->pindex[i++] = node; // Sort the indexes - qsort(dbh->pindex, dbh->nnodes, sizeof(SIDLibSLDBNode *), sidlib_sldb_compare_nodes); + qsort(dbh->pindex, dbh->nnodes, + sizeof(SIDLibSLDBNode *), sidlib_sldb_compare_nodes); } return THERR_OK; @@ -593,7 +594,8 @@ memcpy(&keyItem.hash, hash, sizeof(th_md5hash_t)); key = &keyItem; - item = bsearch(&key, dbh->pindex, dbh->nnodes, sizeof(dbh->pindex[0]), sidlib_sldb_compare_nodes); + item = bsearch(&key, dbh->pindex, dbh->nnodes, + sizeof(dbh->pindex[0]), sidlib_sldb_compare_nodes); return (item != NULL) ? *item : NULL; } @@ -1146,11 +1148,13 @@ dbh->pindex[i++] = node; // Sort the subtunes - qsort(node->subtunes, node->nsubtunes, sizeof(SIDLibSTILSubTune), sidlib_stildb_compare_subtunes); + qsort(node->subtunes, node->nsubtunes, + sizeof(SIDLibSTILSubTune), sidlib_stildb_compare_subtunes); } // Sort the indexes - qsort(dbh->pindex, dbh->nnodes, sizeof(SIDLibSTILNode *), sidlib_stildb_compare_nodes); + qsort(dbh->pindex, dbh->nnodes, + sizeof(SIDLibSTILNode *), sidlib_stildb_compare_nodes); } return THERR_OK; @@ -1165,7 +1169,8 @@ keyItem.filename = (char *) filename; key = &keyItem; - item = bsearch(&key, dbh->pindex, dbh->nnodes, sizeof(SIDLibSTILNode *), sidlib_stildb_compare_nodes); + item = bsearch(&key, dbh->pindex, dbh->nnodes, + sizeof(SIDLibSTILNode *), sidlib_stildb_compare_nodes); return item != NULL ? *item : NULL; }