projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver]
/
hacks
/
apple2-main.c
diff --git
a/hacks/apple2-main.c
b/hacks/apple2-main.c
index facaf7173f1526cf65e22a0086289168162df560..fcb7aee00f423afdfe79c9708ddbf25d34756b54 100644
(file)
--- a/
hacks/apple2-main.c
+++ b/
hacks/apple2-main.c
@@
-279,7
+279,6
@@
a2_dither (unsigned int *in, unsigned char *out, int w, int h)
long *temp_err;
int fs_scale = 1024;
int brightness = 75;
long *temp_err;
int fs_scale = 1024;
int brightness = 75;
- int fs_direction;
#if 0
{
#if 0
{
@@
-320,7
+319,6
@@
a2_dither (unsigned int *in, unsigned char *out, int w, int h)
this_berr[x] = random() % (fs_scale * 2) - fs_scale;
/* (random errors in [-1 .. 1]) */
}
this_berr[x] = random() % (fs_scale * 2) - fs_scale;
/* (random errors in [-1 .. 1]) */
}
- fs_direction = 1;
for (y = 0; y < h; y++)
for (x = 0; x < w; x++)
for (y = 0; y < h; y++)
for (x = 0; x < w; x++)
@@
-708,7
+706,7
@@
static void slideshow_controller(apple2_sim_t *sim, int *stepno,
basename = slash+1;
}
{
basename = slash+1;
}
{
- char *dot=strchr(basename,'.');
+ char *dot=str
r
chr(basename,'.');
if (dot) *dot=0;
}
if (strlen(basename)>20) basename[20]=0;
if (dot) *dot=0;
}
if (strlen(basename)>20) basename[20]=0;