[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-scanlibs



Jason Gunthorpe wrote:
>	char *List[] = {"Hello",
>	                "Mooo",
>	                0};
> 
> If often how you see people indent lists like that, you simply cannot
> reliably preserve that look if tabs stops are variable. There are many
> other examples of similar effects.

Er, sure you can. The bit of whitespace before "char" can be a tab, all
whitespace following it on successive lines should be spaces (or as a
general rule: indent with tabs, align with spaces). I've reformatted your
example above just like that, I think you'll find that the list lines up no
matter what your tab stop is.

-- 
see shy jo



Reply to: