projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.21.tar.gz
[xscreensaver]
/
hacks
/
glx
/
boxed.c
diff --git
a/hacks/glx/boxed.c
b/hacks/glx/boxed.c
index e9da0e3b03793b9ace49797d5132dd0187600985..49420f8e1df6eff337bfdd24d94f73598ebf433c 100644
(file)
--- a/
hacks/glx/boxed.c
+++ b/
hacks/glx/boxed.c
@@
-40,9
+40,10
@@
static const char sccsid[] = "@(#)boxed.c 0.9 01/09/26 xlockmore";
# define HACK_DRAW draw_boxed
# define HACK_RESHAPE reshape_boxed
# define boxed_opts xlockmore_opts
# define HACK_DRAW draw_boxed
# define HACK_RESHAPE reshape_boxed
# define boxed_opts xlockmore_opts
+
+# define DEF_SPEED "0.5"
# define DEFAULTS "*delay: 20000 \n" \
"*showFPS: False \n" \
# define DEFAULTS "*delay: 20000 \n" \
"*showFPS: False \n" \
- "*speed: 0.5 \n" \
# include "xlockmore.h" /* from the xscreensaver distribution */
#else /* !STANDALONE */
# include "xlockmore.h" /* from the xscreensaver distribution */
#else /* !STANDALONE */
@@
-65,7
+66,7
@@
static XrmOptionDescRec opts[] = {
};
static argtype vars[] = {
};
static argtype vars[] = {
- {&speed, "speed", "Speed",
"1.0"
, t_Float},
+ {&speed, "speed", "Speed",
DEF_SPEED
, t_Float},
};
ModeSpecOpt boxed_opts = {countof(opts), opts, countof(vars), vars, NULL};
};
ModeSpecOpt boxed_opts = {countof(opts), opts, countof(vars), vars, NULL};