On Sun, 18 Nov 2012, Carlos R. Mafra escribió:
> On Sun, 18 Nov 2012 at 19:42:47 +0100, Rodolfo García Peñas wrote:
> >
> > From fe63c135cd0797774fc8950f7afda482ce17b92a Mon Sep 17 00:00:00 2001
> > From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
> > Date: Sun, 18 Nov 2012 19:40:44 +0100
> > Subject: [PATCH] create_stdcmap is never used
> >
> > The create_stdcmap variable is never set, so can be removed.
>
> Ok, it was never set, but why not fix the omission instead?
Ok,
then drop this patch. We should add a FIXME or something (bug in BTS?) to
remember this issue.
> diff --git a/src/main.c b/src/main.c
> index f492ac6..d2b289b 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -693,6 +693,8 @@ static int real_main(int argc, char **argv)
> wPreferences.flags.nodock = 1;
> } else if (strcmp(argv[i], "-noclip") == 0 ||
> strcmp(argv[i], "--no-clip") == 0) {
> wPreferences.flags.noclip = 1;
> + } else if (strcmp(argv[i], "-create-stdcmap") == 0 ||
> strcmp(argv[i], "--create-stdcmap") == 0) {
> + wPreferences.flags.create_stdcmap = 1;
> } else if (strcmp(argv[i], "-version") == 0 ||
> strcmp(argv[i], "--version") == 0) {
> printf("Window Maker %s\n", VERSION);
> exit(0);
>
>
> --
> To unsubscribe, send mail to [email protected].
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
--
To unsubscribe, send mail to [email protected].