summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-19 04:53:10 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-19 04:53:10 +0100
commit1eba17ee4cabe51123701c8fe89f6073cb1357a5 (patch)
tree9a33571c0b25fb7943b262ae6ec4e71a3680550e
parent2faf79f443d77ce6be8b6ee43740883ae59ff4d4 (diff)
downloadtdemultimedia-1eba17ee4cabe51123701c8fe89f6073cb1357a5.tar.gz
tdemultimedia-1eba17ee4cabe51123701c8fe89f6073cb1357a5.zip
Fix unintended rename of many various *klist*
-rw-r--r--kscd/libwm/database.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kscd/libwm/database.c b/kscd/libwm/database.c
index 52ca419a..62d66a32 100644
--- a/kscd/libwm/database.c
+++ b/kscd/libwm/database.c
@@ -1101,7 +1101,7 @@ load( void )
FILE *fp;
char **dbfile;
int locked = 0;
- int dbfound = 0, *trtdelist, i;
+ int dbfound = 0, *trklist, i;
unsigned long dbpos;
/* This is some kind of profiling code. I don't change it
@@ -1121,12 +1121,12 @@ load( void )
found_in_db = 0;
/* Turn the cd->trk array into a simple array of ints. */
- trtdelist = (int *)malloc(sizeof(int) * cd->ntracks);
+ trklist = (int *)malloc(sizeof(int) * cd->ntracks);
for (i = 0; i < cd->ntracks; i++)
- trtdelist[i] = cd->trk[i].start;
+ trklist[i] = cd->trk[i].start;
do {
- if (*dbfile && idx_find_entry(*dbfile, cd->ntracks, trtdelist,
+ if (*dbfile && idx_find_entry(*dbfile, cd->ntracks, trklist,
cd->length * 75, 0, &dbpos) == 0)
dbfound = 1;
@@ -1183,7 +1183,7 @@ load( void )
fclose(fp);
}
- free(trtdelist);
+ free(trklist);
if (cur_playnew == -1)
cur_playnew = 0;