projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver]
/
hacks
/
apple2.c
diff --git
a/hacks/apple2.c
b/hacks/apple2.c
index fed55dce4f70f9c28bf9abc6279490e3333c73a5..5f545c40030c48f7352ec7fa9685de8283c57b81 100644
(file)
--- a/
hacks/apple2.c
+++ b/
hacks/apple2.c
@@
-71,12
+71,12
@@
void
a2_scroll(apple2_state_t *st)
{
int i;
a2_scroll(apple2_state_t *st)
{
int i;
- st->textlines[st->cursy][st->cursx] ^= 0xc0; /* turn off cursor */
+ st->textlines[st->cursy][st->cursx] |= 0xc0; /* turn off cursor */
+
for (i=0; i<23; i++) {
memcpy(st->textlines[i],st->textlines[i+1],40);
}
memset(st->textlines[23],0xe0,40);
for (i=0; i<23; i++) {
memcpy(st->textlines[i],st->textlines[i+1],40);
}
memset(st->textlines[23],0xe0,40);
- st->textlines[st->cursy][st->cursx] ^= 0xc0; /* turn cursor back on */
}
static void
}
static void