[Scummvm-devel] Nested scopes in scummvm code.

Vladimir Menshakov whoozle at yandex.ru
Wed Sep 16 08:20:17 CEST 2009


16.09.09, 02:41, "Johannes Schickel" <lordhoto at scummvm.org>:

> megath at users.sourceforge.net wrote:
> > @@ -356,9 +356,13 @@
> >  			}
> >  		}
> >  
> > -		if (!hide_actor) {
> > +		{
> >  			Surface *mark = actor_animation.currentFrame();
> >   
> That's also violating our code formatting guidelines ;-). Maybe you 
> should read all of them again.
> // Johannes

Imagine that there's hidden "if (true) {" . Is there guidelines for nested scopes in scummvm code convention? Minor issue that has to be cleared. 




More information about the Scummvm-devel mailing list