summaryrefslogtreecommitdiff
blob: 4b3407f789e57e153813f506a4e8225781282607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
diff -Naur cddb.bundle.orig/Cddb/Cddb.h cddb.bundle/Cddb/Cddb.h
--- cddb.bundle.orig/Cddb/Cddb.h	2002-10-15 16:32:13.000000000 +0200
+++ cddb.bundle/Cddb/Cddb.h	2011-04-20 17:13:48.209532185 +0200
@@ -54,8 +54,7 @@
  * The number of object in NSArray are the number of tracks.
  * The keys of NSDictionary are "length" and "offset".
  */
-- (NSString *) discidWithCDTracks: (NSArray *) tracks
-                          locally: (BOOL) bool;
+- (NSString *) discidWithCDTracks: (NSArray *) tracks locally: (BOOL) boolean;
 
 /* Return the query using a NSArray of NSDictionary.
  * The number of object in NSArray are the number of tracks.
@@ -75,9 +74,7 @@
  * NSString, "extdata" (extra data about this album)
  * NSArray, "exttitles" (extra-title of each track)
  */
-- (NSDictionary *) readWithCategory: (NSString *) category
-                             discid: (NSString *) discid
-                        postProcess: (BOOL) bool;
+- (NSDictionary *) readWithCategory: (NSString *) category discid: (NSString *) discid postProcess: (BOOL) boolean;
 
 /* Low-level methods */
 /* Input format:
diff -Naur cddb.bundle.orig/Cddb/Cddb.m cddb.bundle/Cddb/Cddb.m
--- cddb.bundle.orig/Cddb/Cddb.m	2002-10-17 15:17:01.000000000 +0200
+++ cddb.bundle/Cddb/Cddb.m	2011-04-20 17:14:08.737891180 +0200
@@ -44,7 +44,7 @@
 
 
 - (NSString *) discidWithCDTracks: (NSArray *) tracks 
-                          locally: (BOOL) bool
+                          locally: (BOOL) boolean
 {
   NSMutableString *string = [NSMutableString new];
   int i = 0, numtracks = 0;
@@ -72,7 +72,7 @@
 
   [string appendFormat: @" %d", totaltime];
 
-  if (bool == YES) // Calculate locally
+  if (boolean == YES) // Calculate locally
     {
       RELEASE(string);
       RELEASE(tracks);
@@ -123,9 +123,9 @@
 
 - (NSDictionary *) readWithCategory: (NSString *) category
                              discid: (NSString *) discid
-                        postProcess: (BOOL) bool
+                        postProcess: (BOOL) boolean
 {
-  if (bool == NO)
+  if (boolean == NO)
     return [self read: [NSString stringWithFormat: @"%@ %@", category, discid]];
   else
     {