summaryrefslogtreecommitdiffstats
path: root/hacks/glx/pinion.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/pinion.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/glx/pinion.c')
-rw-r--r--hacks/glx/pinion.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/hacks/glx/pinion.c b/hacks/glx/pinion.c
index 956a444..343600f 100644
--- a/hacks/glx/pinion.c
+++ b/hacks/glx/pinion.c
@@ -12,13 +12,11 @@
#define DEFAULTS "*delay: 15000 \n" \
"*showFPS: False \n" \
"*wireframe: False \n" \
- "*titleFont: -*-helvetica-medium-r-normal-*-*-180-*-*-*-*-*-*\n" \
- "*titleFont2: -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-*-*\n" \
- "*titleFont3: -*-helvetica-medium-r-normal-*-*-80-*-*-*-*-*-*\n" \
+ "*titleFont: sans-serif 18\n" \
+ "*titleFont2: sans-serif 12\n" \
+ "*titleFont3: sans-serif 8\n" \
# define release_pinion 0
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
#undef BELLRAND
#define BELLRAND(n) ((frand((n)) + frand((n)) + frand((n))) / 3)
@@ -907,7 +905,7 @@ push_gear (ModeInfo *mi)
fprintf (stderr, " %3.0f rpm;", g->rpm);
{
- char buf1[50], buf2[50], buf3[100];
+ char buf1[50], buf2[50], buf3[200];
*buf1 = 0; *buf2 = 0; *buf3 = 0;
if (pp->debug_size_failures)
sprintf (buf1, "%3d sz", pp->debug_size_failures);