summaryrefslogtreecommitdiffstats
path: root/kscd/libwm
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:21:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:21:33 -0600
commit5b28c57424294aa30218a9c11cd6ed1a929409b6 (patch)
treeaaa8c9380d183dfa87857abd34b3ef42bb0de1b5 /kscd/libwm
parent120dff5f18d13aab7d2731de84e64c898728dc60 (diff)
downloadtdemultimedia-5b28c57424294aa30218a9c11cd6ed1a929409b6.tar.gz
tdemultimedia-5b28c57424294aa30218a9c11cd6ed1a929409b6.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'kscd/libwm')
-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 62d66a32..52ca419a 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, *trklist, i;
+ int dbfound = 0, *trtdelist, 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. */
- trklist = (int *)malloc(sizeof(int) * cd->ntracks);
+ trtdelist = (int *)malloc(sizeof(int) * cd->ntracks);
for (i = 0; i < cd->ntracks; i++)
- trklist[i] = cd->trk[i].start;
+ trtdelist[i] = cd->trk[i].start;
do {
- if (*dbfile && idx_find_entry(*dbfile, cd->ntracks, trklist,
+ if (*dbfile && idx_find_entry(*dbfile, cd->ntracks, trtdelist,
cd->length * 75, 0, &dbpos) == 0)
dbfound = 1;
@@ -1183,7 +1183,7 @@ load( void )
fclose(fp);
}
- free(trklist);
+ free(trtdelist);
if (cur_playnew == -1)
cur_playnew = 0;