diff command.c @ 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 7d13ed4e80f2
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: