X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fflag.c;h=f34ead3e8cb90d24aac2e0ddc255fea687de0a94;hp=643aff104e536d692dd534b377ee6c746dda6dbf;hb=ce3185de9d9705e259f2b60dd4b5509007fa17d4;hpb=481b95e2617b69e6fd4444432747d7e1e0c3dc85 diff --git a/hacks/flag.c b/hacks/flag.c index 643aff10..f34ead3e 100644 --- a/hacks/flag.c +++ b/hacks/flag.c @@ -27,7 +27,7 @@ static const char sccsid[] = "@(#)flag.c 4.02 97/04/01 xlockmore"; * 22-Jan-98: jwz: made the flag wigglier; added xpm support. * (I tried to do this by re-porting from xlockmore, but the * current xlockmore version is completely inscrutable.) - * 13-May-97: jwz@netscape.com: turned into a standalone program. + * 13-May-97: jwz@jwz.org: turned into a standalone program. * Made it able to animate arbitrary (runtime) text or bitmaps. * 01-May-96: written. */ @@ -82,14 +82,15 @@ static const char sccsid[] = "@(#)flag.c 4.02 97/04/01 xlockmore"; #ifdef STANDALONE static XrmOptionDescRec opts[] = { - { "-bitmap", ".flag.bitmap", XrmoptionSepArg, 0 } + { "-bitmap", ".flag.bitmap", XrmoptionSepArg, 0 }, + { "-text", ".flag.text", XrmoptionSepArg, 0 } }; #endif /* STANDALONE */ ModeSpecOpt flag_opts = { #ifdef STANDALONE - 1, opts, 0, NULL, NULL + 2, opts, 0, NULL, NULL #else /* !STANDALONE */ 0, NULL, 0, NULL, NULL #endif /* STANDALONE */