summaryrefslogtreecommitdiffstats
path: root/byterun/rotatecursor.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>1997-11-12 18:59:32 +0000
committerDamien Doligez <damien.doligez-inria.fr>1997-11-12 18:59:32 +0000
commit59130591cf4b3b5f1949793f1db34c5fb8cc51c7 (patch)
tree36d426389f801fc9e5659d52fb70fdbd08059c82 /byterun/rotatecursor.c
parent716a30000cd136e11d005e830f82631438a059a9 (diff)
Macintosh
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1762 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/rotatecursor.c')
-rw-r--r--byterun/rotatecursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/rotatecursor.c b/byterun/rotatecursor.c
index 85eb31161..36715b567 100644
--- a/byterun/rotatecursor.c
+++ b/byterun/rotatecursor.c
@@ -70,9 +70,9 @@ void rotatecursor_init (int volatile *p1, int volatile *p2)
atexit (remove_task);
}
-int rotatecursor_action (int direction)
+int rotatecursor_action (int reverse)
{
PrimeTime ((QElemPtr) &mytmtask, 50); /* 20 Hz */
- RotateCursor (direction ? 32 : -32);
+ RotateCursor (reverse ? -32 : 32);
return 0;
}