[MPlayer-dev-eng] [PATCH] ao_dart
Diego Biurrun
diego at biurrun.de
Sun Mar 1 14:21:57 CET 2009
On Sun, Mar 01, 2009 at 02:13:38PM +0100, Reimar Döffinger wrote:
> On Sun, Mar 01, 2009 at 02:10:58PM +0100, Diego Biurrun wrote:
> > On Sun, Mar 01, 2009 at 09:59:30PM +0900, KO Myung-Hun wrote:
> > >
> > > Diego Biurrun wrote:
> > > >> But, now the closing bracket '}' of last case is placed on the same
> > > >> depth with the closing bracket '}' of switch. I think it's not good
> > > >> style.
> > > >
> > > > Just look at what K&R really does: Indent the opening brace after 'case'.
> > >
> > > How do I that in this case ?
> > >
> > > case 1234:
> > > {
> > > if (true) {
> > > }
> > > break;
> > > }
> > >
> > > Just do that ?
> >
> > Fine with me.
>
> And that's supposed to be not ugly?
K&R as executed by the 'indent' program places the if at the next
indentation depth. I don't particularly care.
Diego
More information about the MPlayer-dev-eng
mailing list