projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver]
/
hacks
/
glx
/
lavalite.c
diff --git
a/hacks/glx/lavalite.c
b/hacks/glx/lavalite.c
index 8c2d800c2f4b353daeee0d39ab4bfa430dc39943..743d6575542da3501392d1f21730cc6a00026f99 100644
(file)
--- a/
hacks/glx/lavalite.c
+++ b/
hacks/glx/lavalite.c
@@
-96,6
+96,7
@@
extern XtAppContext app;
#define DEFAULTS "*delay: 10000 \n" \
"*showFPS: False \n" \
"*wireframe: False \n" \
#define DEFAULTS "*delay: 10000 \n" \
"*showFPS: False \n" \
"*wireframe: False \n" \
+ "*geometry: 640x640 \n" \
"*count: " DEF_COUNT " \n" \
"*style: " DEF_STYLE " \n" \
"*speed: " DEF_SPEED " \n" \
"*count: " DEF_COUNT " \n" \
"*style: " DEF_STYLE " \n" \
"*speed: " DEF_SPEED " \n" \
@@
-557,7
+558,7
@@
draw_wing (GLfloat w, GLfloat h, GLfloat d, Bool wire)
int polys = 0;
int maxx = coords[0][countof(coords[0])-1][0];
int maxy = coords[0][countof(coords[0])-1][1];
int polys = 0;
int maxx = coords[0][countof(coords[0])-1][0];
int maxy = coords[0][countof(coords[0])-1][1];
- int x;
+
unsigned
int x;
for (x = 1; x < countof(coords[0]); x++)
{
for (x = 1; x < countof(coords[0]); x++)
{