summaryrefslogtreecommitdiffstats
path: root/audio-players/orpheus/uitext.cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio-players/orpheus/uitext.cc.patch')
-rw-r--r--audio-players/orpheus/uitext.cc.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/audio-players/orpheus/uitext.cc.patch b/audio-players/orpheus/uitext.cc.patch
new file mode 100644
index 0000000000..0a62fba47a
--- /dev/null
+++ b/audio-players/orpheus/uitext.cc.patch
@@ -0,0 +1,30 @@
+--- src/uitext.cc.old 2005-05-14 19:34:20.000000000 -0700
++++ src/uitext.cc 2005-05-14 19:33:44.000000000 -0700
+@@ -577,14 +577,16 @@
+ autosavepl = !autosavepl;
+ break;
+ case 41:
+- if(++((int) playmode) == PlayMode_size)
++ playmode = (PlayMode) (((int) playmode) + 1);
++ if(((int) playmode) == PlayMode_size)
+ playmode = Normal;
+ break;
+ case 42:
+ autoplay = !autoplay;
+ break;
+ case 43:
+- if(++((int) sortorder) == SortOrder_size)
++ sortorder = (SortOrder) (((int) sortorder) + 1);
++ if(((int) sortorder) == SortOrder_size)
+ sortorder = byFileName;
+ break;
+ case 44:
+@@ -719,7 +721,7 @@
+ while(!finished) {
+ m.clear();
+
+- for(ct = mixerctl::ctVolume; ct != mixerctl::channeltype_end; (int) ct += 1) {
++ for(ct = mixerctl::ctVolume; ct != mixerctl::channeltype_end; ct = (mixerctl::channeltype) ((int) ct + 1)) {
+ if(chavail.count(ct)) {
+ val = mix.readlevel(ct);
+ if(val >= 0) {