X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fflag.c;h=f34ead3e8cb90d24aac2e0ddc255fea687de0a94;hb=8e0f39b4a12b9a908af2b3b175ebe87c14b4a6ab;hp=643aff104e536d692dd534b377ee6c746dda6dbf;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959;p=xscreensaver 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 */