[PATCH xrdb] Get rid of PATHETICCPP macro

Adrian Bunk bunk at stusta.de
Sun Oct 10 12:10:28 PDT 2010


On Sun, Oct 10, 2010 at 10:57:08PM +0400, Mikhail Gusarov wrote:
> Twas brillig at 21:47:05 10.10.2010 UTC+03 when bunk at stusta.de did gyre and gimble:
>...
>  >>...
>  >>      if (!filename &&
>  >> -#ifdef PATHETICCPP
>  >> -        need_real_defines
>  >> -#else
>  >>          (oper == OPLOAD || oper == OPMERGE || oper == OPOVERRIDE) &&
>  >>          (whichResources == RALL || whichResources == RSCREENS)
>  >> -#endif
>  >>          ) {
>  >>...
> 
>  AB> Technically the result is correct, but the resulting code looks 
>  AB> weird and should be properly formatted.
> 
> I can't think of another way to format this if clause.

Move the ") {" one line up?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the xorg-devel mailing list