*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
#ifndef _XSCREENSAVER_VROOT_H_
# error Error! You have an old version of vroot.h! Check -I args.
#endif /* _XSCREENSAVER_VROOT_H_ */
#ifndef _XSCREENSAVER_VROOT_H_
# error Error! You have an old version of vroot.h! Check -I args.
#endif /* _XSCREENSAVER_VROOT_H_ */
# ifdef DEBUG_PAIR
{ "-pair", ".pair", XrmoptionNoArg, "True" },
# endif /* DEBUG_PAIR */
# ifdef DEBUG_PAIR
{ "-pair", ".pair", XrmoptionNoArg, "True" },
# endif /* DEBUG_PAIR */
+
+# ifdef HAVE_RECORD_ANIM
+ { "-record-animation", ".recordAnim", XrmoptionSepArg, 0 },
+# endif /* HAVE_RECORD_ANIM */
+
, Window window2, fps_state *fpst2, void *closure2,
unsigned long delay2
#endif
, Window window2, fps_state *fpst2, void *closure2,
unsigned long delay2
#endif
static void
screenhack_do_fps (Display *dpy, Window w, fps_state *fpst, void *closure)
{
static void
screenhack_do_fps (Display *dpy, Window w, fps_state *fpst, void *closure)
{
window, fpst, closure, delay
#ifdef DEBUG_PAIR
, window2, fpst2, closure2, delay2
window, fpst, closure, delay
#ifdef DEBUG_PAIR
, window2, fpst2, closure2, delay2
ft->free_cb (dpy, window, closure);
if (fpst) fps_free (fpst);
#ifdef DEBUG_PAIR
if (window2) ft->free_cb (dpy, window2, closure2);
ft->free_cb (dpy, window, closure);
if (fpst) fps_free (fpst);
#ifdef DEBUG_PAIR
if (window2) ft->free_cb (dpy, window2, closure2);
s1 = (char *) strchr(v, ' '); s1++;
s2 = (char *) strchr(s1, ' ');
s3 = (char *) strchr(v, '('); s3++;
s4 = (char *) strchr(s3, ')');
*s2 = 0;
*s4 = 0;
s1 = (char *) strchr(v, ' '); s1++;
s2 = (char *) strchr(s1, ' ');
s3 = (char *) strchr(v, '('); s3++;
s4 = (char *) strchr(s3, ')');
*s2 = 0;
*s4 = 0;
- sprintf (version, "%s: from the XScreenSaver %s distribution (%s.)",
+ if (ot && !*ot) ot = 0;
+ sprintf (version, "%.50s%s%s: from the XScreenSaver %s distribution (%s)",
+ (ot ? ot : ""),
+ (ot ? ": " : ""),
!strcmp(argv[1], "--help"));
fprintf (stderr, "%s\n", version);
for (s = progclass; *s; s++) fprintf(stderr, " ");
!strcmp(argv[1], "--help"));
fprintf (stderr, "%s\n", version);
for (s = progclass; *s; s++) fprintf(stderr, " ");