Lines 1-6
Link Here
|
1 |
--- src/uitext.cc Tue Feb 17 04:18:21 2004 |
1 |
diff -Nru src.orig/uitext.cc src/uitext.cc |
2 |
+++ src/uitext.cc Sun Dec 12 22:12:41 2004 |
2 |
--- src.orig/uitext.cc Tue Feb 17 04:18:21 2004 |
3 |
@@ -577,14 +577,16 @@ |
3 |
+++ src/uitext.cc Tue Apr 26 19:49:01 2005 |
|
|
4 |
@@ -125,6 +125,8 @@ |
5 |
} |
6 |
|
7 |
void OrpheusTextUI::nexttrack() { |
8 |
+ if (!plist.empty()) |
9 |
+ { |
10 |
if(conf.getplaymode() == Random) { |
11 |
int k; |
12 |
while(*(plist.begin()+(k = randlimit(0, plist.size()-1))) == currenttrack); |
13 |
@@ -143,6 +145,7 @@ |
14 |
} |
15 |
} |
16 |
} |
17 |
+ } |
18 |
} |
19 |
|
20 |
void OrpheusTextUI::prevtrack() { |
21 |
@@ -577,14 +580,16 @@ |
4 |
autosavepl = !autosavepl; |
22 |
autosavepl = !autosavepl; |
5 |
break; |
23 |
break; |
6 |
case 41: |
24 |
case 41: |
Lines 19-25
Link Here
|
19 |
sortorder = byFileName; |
37 |
sortorder = byFileName; |
20 |
break; |
38 |
break; |
21 |
case 44: |
39 |
case 44: |
22 |
@@ -719,7 +721,8 @@ |
40 |
@@ -719,7 +724,8 @@ |
23 |
while(!finished) { |
41 |
while(!finished) { |
24 |
m.clear(); |
42 |
m.clear(); |