blob: aa515aad310e2dc60ca9029d8c53fc6dcd453850 (
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
|
diff -Naur dvdbackup-0.4.2/src/dvdbackup.c dvdbackup-0.4.2.new/src/dvdbackup.c
--- dvdbackup-0.4.2/src/dvdbackup.c 2012-06-23 21:10:29.000000000 -0400
+++ dvdbackup-0.4.2.new/src/dvdbackup.c 2020-01-19 10:13:23.689417434 -0500
@@ -1326,22 +1326,6 @@
length--;
}
- /* convert title to lower case and replace underscores with spaces */
- for(i = 0; i < length; i++) {
- word_length++;
- if(word_length == 1) {
- title[i] = toupper(title[i]);
- } else {
- title[i] = tolower(title[i]);
- }
- if(title[i] == '_') {
- title[i] = ' ';
- }
- if(title[i] == ' ') {
- word_length = 0;
- }
- }
-
return(0);
}
|