changeset 33230:ff132cb56f40

Fix DVD angle cycling up. Patch by Έτ?? [houhongxun gmail com]
author reimar
date Sat, 23 Apr 2011 16:48:36 +0000
parents 71c65ab3c204
children e5e8f5bc088c
files command.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Sat Apr 23 16:41:11 2011 +0000
+++ b/command.c	Sat Apr 23 16:48:36 2011 +0000
@@ -573,6 +573,8 @@
         angle += step;
         if (angle < 1) //cycle
             angle = angles;
+        else if (angle > angles)
+            angle = 1;
         break;
     }
     default: